protected function LazyOpenStream::createStream in Lockr 7.3
Creates the underlying stream lazily when required.
Return value
Overrides StreamDecoratorTrait::createStream
File
- vendor/
guzzlehttp/ psr7/ src/ LazyOpenStream.php, line 35
Class
- LazyOpenStream
- Lazily reads or writes to a file that is opened only after an IO operation take place on the stream.
Namespace
GuzzleHttp\Psr7Code
protected function createStream() {
return stream_for(try_fopen($this->filename, $this->mode));
}