# media-cloud-sync/1.4.2/includes/sdk/s3/GuzzleHttp/Psr7/NoSeekStream.php

Media Cloud Sync, version 1.4.2. 24 lines.

- Page: https://pluginprobe.com/plugins/media-cloud-sync/1.4.2/code/includes/sdk/s3/GuzzleHttp/Psr7/NoSeekStream.php
- Raw: https://pluginprobe.com/plugins/media-cloud-sync/1.4.2/raw/includes/sdk/s3/GuzzleHttp/Psr7/NoSeekStream.php
- Modified: 2025-08-17T07:06:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/media-cloud-sync/1.4.2/code/includes/sdk/s3/GuzzleHttp/Psr7/NoSeekStream.php#L10-L20`.

```php
<?php

declare (strict_types=1);
namespace Dudlewebs\WPMCS\s3\GuzzleHttp\Psr7;

use Dudlewebs\WPMCS\s3\Psr\Http\Message\StreamInterface;
/**
 * Stream decorator that prevents a stream from being seeked.
 */
final class NoSeekStream implements StreamInterface
{
    use StreamDecoratorTrait;
    /** @var StreamInterface */
    private $stream;
    public function seek($offset, $whence = \SEEK_SET) : void
    {
        throw new \RuntimeException('Cannot seek a NoSeekStream');
    }
    public function isSeekable() : bool
    {
        return \false;
    }
}

```
