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

YoastSEO_Vendor\GuzzleHttp\Psr7

AppendStream::read() public Yoast 1.0

Reads from all of the appended streams until the length is met or EOF.

{@inheritdoc}

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

Хуков нет.

Возвращает

Null. Ничего.

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

$AppendStream = new AppendStream();
$AppendStream->read( $length );

Код AppendStream::read() Yoast 15.6.2

<?php
public function read($length)
{
    $buffer = '';
    $total = \count($this->streams) - 1;
    $remaining = $length;
    $progressToNext = \false;
    while ($remaining > 0) {
        // Progress to the next stream if needed.
        if ($progressToNext || $this->streams[$this->current]->eof()) {
            $progressToNext = \false;
            if ($this->current === $total) {
                break;
            }
            $this->current++;
        }
        $result = $this->streams[$this->current]->read($remaining);
        // Using a loose comparison here to match on '', false, and null
        if ($result == null) {
            $progressToNext = \true;
            continue;
        }
        $buffer .= $result;
        $remaining = $length - \strlen($buffer);
    }
    $this->pos += \strlen($buffer);
    return $buffer;
}