class NoSeekStream in Lockr 7.3
Stream decorator that prevents a stream from being seeked
Hierarchy
- class \GuzzleHttp\Psr7\NoSeekStream implements StreamInterface uses StreamDecoratorTrait
Expanded class hierarchy of NoSeekStream
File
- vendor/
guzzlehttp/ psr7/ src/ NoSeekStream.php, line 9
Namespace
GuzzleHttp\Psr7View 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NoSeekStream:: |
public | function |
Returns whether or not the stream is seekable. Overrides StreamDecoratorTrait:: |
|
NoSeekStream:: |
public | function |
Seek to a position in the stream. Overrides StreamDecoratorTrait:: |
|
StreamDecoratorTrait:: |
public | function | 1 | |
StreamDecoratorTrait:: |
protected | function | Implement in subclasses to dynamically create streams when requested. | 2 |
StreamDecoratorTrait:: |
public | function | ||
StreamDecoratorTrait:: |
public | function | 2 | |
StreamDecoratorTrait:: |
public | function | ||
StreamDecoratorTrait:: |
public | function | ||
StreamDecoratorTrait:: |
public | function | 2 | |
StreamDecoratorTrait:: |
public | function | ||
StreamDecoratorTrait:: |
public | function | 1 | |
StreamDecoratorTrait:: |
public | function | 2 | |
StreamDecoratorTrait:: |
public | function | 1 | |
StreamDecoratorTrait:: |
public | function | 1 | |
StreamDecoratorTrait:: |
public | function | 2 | |
StreamDecoratorTrait:: |
public | function | Allow decorators to implement custom methods | |
StreamDecoratorTrait:: |
public | function | 6 | |
StreamDecoratorTrait:: |
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:: |
public | function |