Class LazyOpenStream
- GuzzleHttp\Psr7\LazyOpenStream implements Psr\Http\Message\StreamInterface uses GuzzleHttp\Psr7\StreamDecoratorTrait
- Namespace: GuzzleHttp\Psr7
- Located at LazyOpenStream.php
Lazily reads or writes to a file that is opened only after an IO operation take place on the stream.
Methods Summary
Methods inherited from Psr\Http\Message\StreamInterface
__toString()
,
close()
,
detach()
,
eof()
,
getContents()
,
getMetadata()
,
getSize()
,
isReadable()
,
isSeekable()
,
isWritable()
,
read()
,
rewind()
,
seek()
,
tell()
,
write()
Methods used from GuzzleHttp\Psr7\StreamDecoratorTrait
Methods Details
__construct ( string $filename, string $mode )
Parameters
string | $filename | File to lazily open |
string | $mode | fopen mode to use when opening the stream |