WordPress\AiClientDependencies\Psr\Http\Message
StreamInterface::read
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
$lengthbytes from the object and return
php them. Fewer than $length bytes may be returned if underlying stream call returns fewer bytes. .
Код StreamInterface::read() StreamInterface::read WP 7.1.2
public function read(int $length): string;