scratch – Blame information for rev 87
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
87 | office | 1 | <?php |
2 | namespace GuzzleHttp\Stream; |
||
3 | |||
4 | /** |
||
5 | * Stream decorator that prevents a stream from being seeked |
||
6 | */ |
||
7 | class NoSeekStream implements StreamInterface, MetadataStreamInterface |
||
8 | { |
||
9 | use StreamDecoratorTrait; |
||
10 | |||
11 | public function seek($offset, $whence = SEEK_SET) |
||
12 | { |
||
13 | return false; |
||
14 | } |
||
15 | |||
16 | public function isSeekable() |
||
17 | { |
||
18 | return false; |
||
19 | } |
||
20 | } |