scratch
/vendor/guzzlehttp/streams/src/NoSeekStream.php |
---|
@@ -0,0 +1,20 @@ |
<?php |
namespace GuzzleHttp\Stream; |
/** |
* Stream decorator that prevents a stream from being seeked |
*/ |
class NoSeekStream implements StreamInterface, MetadataStreamInterface |
{ |
use StreamDecoratorTrait; |
public function seek($offset, $whence = SEEK_SET) |
{ |
return false; |
} |
public function isSeekable() |
{ |
return false; |
} |
} |