You are here

public function StreamDecoratorTrait::write in Lockr 7.3

2 methods override StreamDecoratorTrait::write()
CachingStream::write in vendor/guzzlehttp/psr7/src/CachingStream.php
Write data to the stream.
DroppingStream::write in vendor/guzzlehttp/psr7/src/DroppingStream.php
Write data to the stream.

File

vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php, line 134

Class

StreamDecoratorTrait
Stream decorator trait @property StreamInterface stream

Namespace

GuzzleHttp\Psr7

Code

public function write($string) {
  return $this->stream
    ->write($string);
}