public function StreamInterface::write

Write data to the stream

Parameters

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

Return value

int|bool Returns the number of bytes written to the stream on success or FALSE on failure.

2 methods override StreamInterface::write()
AbstractEntityBodyDecorator::write in drupal/core/vendor/guzzle/http/Guzzle/Http/AbstractEntityBodyDecorator.php
@codeCoverageIgnore
Stream::write in drupal/core/vendor/guzzle/stream/Guzzle/Stream/Stream.php
Write data to the stream

File

drupal/core/vendor/guzzle/stream/Guzzle/Stream/StreamInterface.php, line 149

Class

StreamInterface
OO interface to PHP streams

Namespace

Guzzle\Stream

Code

public function write($string);