Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
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 |
SeekException.php
01 <?php
02 namespace GuzzleHttp\Exception;
03
04 use Psr\Http\Message\StreamInterface;
05
06 /**
07 * Exception thrown when a seek fails on a stream.
08 */
09 class SeekException extends \RuntimeException implements GuzzleException
10 {
11 private $stream;
12
13 public function __construct(StreamInterface $stream, $pos = 0, $msg = '')
14 {
15 $this->stream = $stream;
16 $msg = $msg ?: 'Could not seek the stream to position ' . $pos;
17 parent::__construct($msg);
18 }
19
20 /**
21 * @return StreamInterface
22 */
23 public function getStream()
24 {
25 return $this->stream;
26 }
27 }
28