Your IP : 127.0.0.1


Current Path : /home/dev2.destoffenstraat.com/vendor-1/ezimuel/guzzlestreams/src/
Upload File :
Current File : /home/dev2.destoffenstraat.com/vendor-1/ezimuel/guzzlestreams/src/NoSeekStream.php

<?php
namespace GuzzleHttp\Stream;

/**
 * Stream decorator that prevents a stream from being seeked
 */
class NoSeekStream implements StreamInterface
{
    use StreamDecoratorTrait;

    public function seek($offset, $whence = SEEK_SET)
    {
        return false;
    }

    public function isSeekable()
    {
        return false;
    }

    public function attach($stream)
    {
        $this->stream->attach($stream);
    }
}