WordPress\AiClientDependencies\Psr\Http\Message

StreamInterface::read │ public │ WP 1.0

Read data from the stream.

Метод класса: StreamInterface{}

Хуков нет.

Возвращает

string. Returns the data read from the stream, or an empty string

if no bytes are available.

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

$StreamInterface = new StreamInterface();
$StreamInterface->read( $length ): string;
$length(int) (обязательный)
Read up to $length bytes from the object and return
php them. Fewer than $length bytes may be returned if underlying stream call returns fewer bytes. .

Код StreamInterface::read() WP 7.1.2

public function read(int $length): string;