WordPress\AiClientDependencies\Psr\Http\Message

StreamInterface::writepublicWP 1.0

Write data to the stream.

Method of the class: StreamInterface{}

No Hooks.

Returns

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

Usage

$StreamInterface = new StreamInterface();
$StreamInterface->write( $string ): int;
$string(string) (required)
The string that is to be written.

StreamInterface::write() code WP 7.0

public function write(string $string): int;