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

YoastSEO_Vendor\GuzzleHttp\Psr7

readline() Yoast 1.0

Read a line from the stream up to the maximum allowed buffer length

Хуков нет.

Возвращает

Строку.

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

readline( \YoastSEO_Vendor\Psr\Http\Message\StreamInterface $stream, $maxLength );
$stream(Streamчислоerface) (обязательный)
Stream to read from
$maxLength(число)
Maximum buffer length
По умолчанию: null

Код readline() Yoast 15.6.2

<?php
function readline(\YoastSEO_Vendor\Psr\Http\Message\StreamInterface $stream, $maxLength = null)
{
    $buffer = '';
    $size = 0;
    while (!$stream->eof()) {
        // Using a loose equality here to match on '' and false.
        if (null == ($byte = $stream->read(1))) {
            return $buffer;
        }
        $buffer .= $byte;
        // Break when a new line is found or the max length - 1 is reached
        if ($byte === "\n" || ++$size === $maxLength - 1) {
            break;
        }
    }
    return $buffer;
}