/** @var int */
private $pos = 0;
/**
* @param StreamInterface[] $streams Streams to decorate. Each stream must
* be readable.
*/
public function __construct(array
$streams =
[]) { foreach ($streams as $stream) { $this->
addStream($stream);
} } public function __toString(): string
{ try { $this->
rewind();
return $this->
getContents();
} catch (\Throwable
$e) { if (\PHP_VERSION_ID >= 70400
) {