WordPress\AiClientDependencies\Psr\Http\Message
StreamInterface::__toString
Reads all data from the stream into a string, from the beginning to end.
This method MUST attempt to seek to the beginning of the stream before reading data and read the stream until the end is reached.
Warning: This could attempt to load a large amount of data into memory.
This method MUST NOT raise an exception in order to conform with PHP's string casting operations.
Метод класса: StreamInterface{}
Хуков нет.
Возвращает
string.
Использование
$StreamInterface = new StreamInterface(); $StreamInterface->__toString(): string;
Заметки
| Смотрите: http://php.net/manual/en/language.oop5.magic.php#object.tostring |
Код StreamInterface::__toString() StreamInterface:: toString WP 7.1.4
public function __toString(): string;