Verzeichnisstruktur phpBB-3.2.0


Veröffentlicht
06.01.2017

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

BeforeEvent.php

Zuletzt modifiziert: 09.10.2024, 12:57 - Dateigröße: 708.00 Bytes


01  <?php
02  namespace GuzzleHttp\Event;
03   
04  use GuzzleHttp\Message\ResponseInterface;
05   
06  /**
07   * Event object emitted before a request is sent.
08   *
09   * This event MAY be emitted multiple times (i.e., if a request is retried).
10   * You MAY change the Response associated with the request using the
11   * intercept() method of the event.
12   */
13  class BeforeEvent extends AbstractRequestEvent
14  {
15      /**
16       * Intercept the request and associate a response
17       *
18       * @param ResponseInterface $response Response to set
19       */
20      public function intercept(ResponseInterface $response)
21      {
22          $this->transaction->response = $response;
23          $this->transaction->exception = null;
24          $this->stopPropagation();
25      }
26  }
27