You are here

public function StreamInterface::write in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/psr/http-message/src/StreamInterface.php \Psr\Http\Message\StreamInterface::write()

Write data to the stream.

Parameters

string $string The string that is to be written.:

Return value

int Returns the number of bytes written to the stream.

Throws

\RuntimeException on failure.

8 methods override StreamInterface::write()
AppendStream::write in vendor/guzzlehttp/psr7/src/AppendStream.php
Write data to the stream.
BufferStream::write in vendor/guzzlehttp/psr7/src/BufferStream.php
Writes data to the buffer.
FnStream::write in vendor/guzzlehttp/psr7/src/FnStream.php
Write data to the stream.
PumpStream::write in vendor/guzzlehttp/psr7/src/PumpStream.php
Write data to the stream.
RelativeStream::write in vendor/zendframework/zend-diactoros/src/RelativeStream.php
Write data to the stream.

... See full list

File

vendor/psr/http-message/src/StreamInterface.php, line 115

Class

StreamInterface
Describes a data stream.

Namespace

Psr\Http\Message

Code

public function write($string);