You are here

class NoSeekStream in Auth0 Single Sign On 8.2

Stream decorator that prevents a stream from being seeked

Hierarchy

Expanded class hierarchy of NoSeekStream

File

vendor/guzzlehttp/psr7/src/NoSeekStream.php, line 9

Namespace

GuzzleHttp\Psr7
View source
class NoSeekStream implements StreamInterface {
  use StreamDecoratorTrait;
  public function seek($offset, $whence = SEEK_SET) {
    throw new \RuntimeException('Cannot seek a NoSeekStream');
  }
  public function isSeekable() {
    return false;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
NoSeekStream::isSeekable public function Returns whether or not the stream is seekable. Overrides StreamDecoratorTrait::isSeekable
NoSeekStream::seek public function Seek to a position in the stream. Overrides StreamDecoratorTrait::seek
StreamDecoratorTrait::close public function 1
StreamDecoratorTrait::createStream protected function Implement in subclasses to dynamically create streams when requested. 2
StreamDecoratorTrait::detach public function
StreamDecoratorTrait::eof public function 2
StreamDecoratorTrait::getContents public function
StreamDecoratorTrait::getMetadata public function
StreamDecoratorTrait::getSize public function 2
StreamDecoratorTrait::isReadable public function
StreamDecoratorTrait::isWritable public function 1
StreamDecoratorTrait::read public function 2
StreamDecoratorTrait::rewind public function 1
StreamDecoratorTrait::tell public function 1
StreamDecoratorTrait::write public function 2
StreamDecoratorTrait::__call public function Allow decorators to implement custom methods
StreamDecoratorTrait::__construct public function 6
StreamDecoratorTrait::__get public function Magic method used to create a new stream if streams are not added in the constructor of a decorator (e.g., LazyOpenStream).
StreamDecoratorTrait::__toString public function