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. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
ParseException.php
01 <?php
02 namespace GuzzleHttp\Exception;
03
04 use GuzzleHttp\Message\ResponseInterface;
05
06 /**
07 * Exception when a client is unable to parse the response body as XML or JSON
08 */
09 class ParseException extends TransferException
10 {
11 /** @var ResponseInterface */
12 private $response;
13
14 public function __construct(
15 $message = '',
16 ResponseInterface $response = null,
17 \Exception $previous = null
18 ) {
19 parent::__construct($message, 0, $previous);
20 $this->response = $response;
21 }
22 /**
23 * Get the associated response
24 *
25 * @return ResponseInterface|null
26 */
27 public function getResponse()
28 {
29 return $this->response;
30 }
31 }
32