public function StreamInterface::write in Lockr 7.3
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.
5 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.
- Stream::write in vendor/
guzzlehttp/ psr7/ src/ Stream.php - Write data to the stream.
File
- vendor/
psr/ http-message/ src/ StreamInterface.php, line 115
Class
- StreamInterface
- Describes a data stream.
Namespace
Psr\Http\MessageCode
public function write($string);