$filename : string
Lazily reads or writes to a file that is opened only after an IO operation take place on the 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).
Name of the property (allows "stream" only).
createStream() : \Psr\Http\Message\StreamInterface
Creates the underlying stream lazily when required.