You are here

public function AppendStream::__construct in Lockr 7.3

Parameters

StreamInterface[] $streams Streams to decorate. Each stream must: be readable.

File

vendor/guzzlehttp/psr7/src/AppendStream.php, line 24

Class

AppendStream
Reads from multiple streams, one after the other.

Namespace

GuzzleHttp\Psr7

Code

public function __construct(array $streams = []) {
  foreach ($streams as $stream) {
    $this
      ->addStream($stream);
  }
}