PATH:
home
/
letacommog
/
gdiags.fr
/
wp-content
/
plugins
/
google-site-kit
/
third-party
/
guzzlehttp
/
streams
/
src
<?php namespace Google\Site_Kit_Dependencies\GuzzleHttp\Stream; /** * Lazily reads or writes to a file that is opened only after an IO operation * take place on the stream. */ class LazyOpenStream implements \Google\Site_Kit_Dependencies\GuzzleHttp\Stream\StreamInterface { use StreamDecoratorTrait; /** @var string File to open */ private $filename; /** @var string $mode */ private $mode; /** * @param string $filename File to lazily open * @param string $mode fopen mode to use when opening the stream */ public function __construct($filename, $mode) { $this->filename = $filename; $this->mode = $mode; } /** * Creates the underlying stream lazily when required. * * @return StreamInterface */ protected function createStream() { return \Google\Site_Kit_Dependencies\GuzzleHttp\Stream\Stream::factory(\Google\Site_Kit_Dependencies\GuzzleHttp\Stream\Utils::open($this->filename, $this->mode)); } }
[+]
..
[-] InflateStream.php
[edit]
[-] LazyOpenStream.php
[edit]
[-] Stream.php
[edit]
[-] DroppingStream.php
[edit]
[-] GuzzleStreamWrapper.php
[edit]
[-] AsyncReadStream.php
[edit]
[-] NullStream.php
[edit]
[-] MetadataStreamInterface.php
[edit]
[-] StreamDecoratorTrait.php
[edit]
[-] BufferStream.php
[edit]
[+]
Exception
[-] NoSeekStream.php
[edit]
[-] AppendStream.php
[edit]
[-] LimitStream.php
[edit]
[-] Utils.php
[edit]
[-] CachingStream.php
[edit]
[-] StreamInterface.php
[edit]
[-] FnStream.php
[edit]
[-] PumpStream.php
[edit]