WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

YoastSEO_Vendor\GuzzleHttp\Psr7

AppendStream::seek() public Yoast 1.0

Attempts to seek to the given position. Only supports SEEK_SET.

{@inheritdoc}

{} Это метод класса: AppendStream{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$AppendStream = new AppendStream();
$AppendStream->seek( $offset, $whence );
$offset (обязательный)
-
$whence **
-
По умолчанию: \SEEK_SET

Код AppendStream::seek() Yoast 17.1

public function seek($offset, $whence = \SEEK_SET)
{
    if (!$this->seekable) {
        throw new \RuntimeException('This AppendStream is not seekable');
    } elseif ($whence !== \SEEK_SET) {
        throw new \RuntimeException('The AppendStream can only seek with SEEK_SET');
    }
    $this->pos = $this->current = 0;
    // Rewind each stream
    foreach ($this->streams as $i => $stream) {
        try {
            $stream->rewind();
        } catch (\Exception $e) {
            throw new \RuntimeException('Unable to seek stream ' . $i . ' of the AppendStream', 0, $e);
        }
    }
    // Seek to the actual position by reading from each stream
    while ($this->pos < $offset && !$this->eof()) {
        $result = $this->read(\min(8096, $offset - $this->pos));
        if ($result === '') {
            break;
        }
    }
}