WordPress\AiClientDependencies\Psr\Http\Message

StreamInterface::write │ public │ WP 1.0

Write data to the stream.

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

Хуков нет.

Возвращает

int. Returns the number of bytes written to the stream.

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

$StreamInterface = new StreamInterface();
$StreamInterface->write( $string ): int;
$string(строка) (обязательный)
The string that is to be written.

Код StreamInterface::write() WP 7.1.2

public function write(string $string): int;