You are here

public function StreamDecoratorTrait::seek in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php \GuzzleHttp\Psr7\StreamDecoratorTrait::seek()
2 calls to StreamDecoratorTrait::seek()
StreamDecoratorTrait::rewind in vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php
StreamDecoratorTrait::__toString in vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php
3 methods override StreamDecoratorTrait::seek()
CachingStream::seek in vendor/guzzlehttp/psr7/src/CachingStream.php
Seek to a position in the stream.
LimitStream::seek in vendor/guzzlehttp/psr7/src/LimitStream.php
Allow for a bounded seek on the read limited stream
NoSeekStream::seek in vendor/guzzlehttp/psr7/src/NoSeekStream.php
Seek to a position in the stream.

File

vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php, line 124

Class

StreamDecoratorTrait
Stream decorator trait @property StreamInterface stream

Namespace

GuzzleHttp\Psr7

Code

public function seek($offset, $whence = SEEK_SET) {
  $this->stream
    ->seek($offset, $whence);
}