scratch

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 86  →  ?path2? @ 87
/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;
}
}