11 use StreamDecoratorTrait;
13 public function seek($offset, $whence = SEEK_SET)
15 throw new \RuntimeException(
'Cannot seek a NoSeekStream');
An exception for terminatinating execution or to throw for unit testing.
Stream decorator that prevents a stream from being seeked.
seek($offset, $whence=SEEK_SET)
Seek to a position in the stream.
isSeekable()
Returns whether or not the stream is seekable.