public function AppendStream::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/src/AppendStream.php \GuzzleHttp\Psr7\AppendStream::__construct()
Parameters
StreamInterface[] $streams Streams to decorate. Each stream must: be readable.
File
- vendor/
guzzlehttp/ psr7/ src/ AppendStream.php, line 25
Class
- AppendStream
- Reads from multiple streams, one after the other.
Namespace
GuzzleHttp\Psr7Code
public function __construct(array $streams = []) {
foreach ($streams as $stream) {
$this
->addStream($stream);
}
}