public function LazyOpenStream::__construct in Lockr 7.3
Parameters
string $filename File to lazily open:
string $mode fopen mode to use when opening the stream:
Overrides StreamDecoratorTrait::__construct
File
- vendor/
guzzlehttp/ psr7/ src/ LazyOpenStream.php, line 24
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
public function __construct($filename, $mode) {
$this->filename = $filename;
$this->mode = $mode;
}