# wordpress-seo/18.0/vendor_prefixed/guzzlehttp/psr7/src/NoSeekStream.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version 18.0. 23 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/18.0/code/vendor_prefixed/guzzlehttp/psr7/src/NoSeekStream.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/18.0/raw/vendor_prefixed/guzzlehttp/psr7/src/NoSeekStream.php
- Modified: 2022-01-11T10:18:10+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/wordpress-seo/18.0/code/vendor_prefixed/guzzlehttp/psr7/src/NoSeekStream.php#L10-L20`.

```php
<?php

namespace YoastSEO_Vendor\GuzzleHttp\Psr7;

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

```
