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

EndEvent.php

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


01  <?php
02  namespace GuzzleHttp\Event;
03   
04  /**
05   * A terminal event that is emitted when a request transaction has ended.
06   *
07   * This event is emitted for both successful responses and responses that
08   * encountered an exception. You need to check if an exception is present
09   * in your listener to know the difference.
10   *
11   * You MAY intercept the response associated with the event if needed, but keep
12   * in mind that the "complete" event will not be triggered as a result.
13   */
14  class EndEvent extends AbstractTransferEvent
15  {
16      /**
17       * Get the exception that was encountered (if any).
18       *
19       * This method should be used to check if the request was sent successfully
20       * or if it encountered errors.
21       *
22       * @return \Exception|null
23       */
24      public function getException()
25      {
26          return $this->transaction->exception;
27      }
28  }
29