$
$ : \Psr\Http\Message\StreamInterface
stream
Stream decorator trait
$ : \Psr\Http\Message\StreamInterface
stream
__get(string  $name) : \Psr\Http\Message\StreamInterface
                Magic method used to create a new stream if streams are not added in the constructor of a decorator (e.g., LazyOpenStream).
| string | $name | Name of the property (allows "stream" only).  |