class NoSeekStream in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/src/NoSeekStream.php \GuzzleHttp\Psr7\NoSeekStream
Stream decorator that prevents a stream from being seeked
Hierarchy
- class \GuzzleHttp\Psr7\NoSeekStream implements StreamInterface uses StreamDecoratorTrait
Expanded class hierarchy of NoSeekStream
4 files declare their use of NoSeekStream
- FunctionsTest.php in vendor/
guzzlehttp/ psr7/ tests/ FunctionsTest.php - LimitStreamTest.php in vendor/
guzzlehttp/ psr7/ tests/ LimitStreamTest.php - NoSeekStreamTest.php in vendor/
guzzlehttp/ psr7/ tests/ NoSeekStreamTest.php - StreamTest.php in vendor/
guzzlehttp/ psr7/ tests/ StreamTest.php
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 | 7 | |
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 |