/home/techb158/immovalet.com/vendor/guzzlehttp/psr7/src
NameSizeModeActions
AppendStream.php57680644editdlrm
BufferStream.php30790644editdlrm
CachingStream.php43420644editdlrm
DroppingStream.php10940644editdlrm
FnStream.php39580644editdlrm
functions.php134090644editdlrm
functions_include.php1560644editdlrm
Header.php21780644editdlrm
InflateStream.php18450644editdlrm
LazyOpenStream.php9000644editdlrm
LimitStream.php42250644editdlrm
Message.php82760644editdlrm
MessageTrait.php59430644editdlrm
MimeType.php51090644editdlrm
MultipartStream.php47690644editdlrm
NoSeekStream.php4390644editdlrm
PumpStream.php40840644editdlrm
Query.php34900644editdlrm
Request.php37190644editdlrm
Response.php48090644editdlrm
Rfc7230.php6910644editdlrm
ServerRequest.php98520644editdlrm
Stream.php68100644editdlrm
StreamDecoratorTrait.php32910644editdlrm
StreamWrapper.php37790644editdlrm
UploadedFile.php77710644editdlrm
Uri.php228980644editdlrm
UriNormalizer.php83310644editdlrm
UriResolver.php87890644editdlrm
Utils.php146730644editdlrm
Edit: /home/techb158/immovalet.com/vendor/guzzlehttp/psr7/src/StreamWrapper.php (3779B)
isReadable()) { $mode = $stream->isWritable() ? 'r+' : 'r'; } elseif ($stream->isWritable()) { $mode = 'w'; } else { throw new \InvalidArgumentException('The stream must be readable, ' . 'writable, or both.'); } return fopen('guzzle://stream', $mode, null, self::createStreamContext($stream)); } /** * Creates a stream context that can be used to open a stream as a php stream resource. * * @param StreamInterface $stream * * @return resource */ public static function createStreamContext(StreamInterface $stream) { return stream_context_create([ 'guzzle' => ['stream' => $stream] ]); } /** * Registers the stream wrapper if needed */ public static function register() { if (!in_array('guzzle', stream_get_wrappers())) { stream_wrapper_register('guzzle', __CLASS__); } } public function stream_open($path, $mode, $options, &$opened_path) { $options = stream_context_get_options($this->context); if (!isset($options['guzzle']['stream'])) { return false; } $this->mode = $mode; $this->stream = $options['guzzle']['stream']; return true; } public function stream_read($count) { return $this->stream->read($count); } public function stream_write($data) { return (int) $this->stream->write($data); } public function stream_tell() { return $this->stream->tell(); } public function stream_eof() { return $this->stream->eof(); } public function stream_seek($offset, $whence) { $this->stream->seek($offset, $whence); return true; } public function stream_cast($cast_as) { $stream = clone($this->stream); return $stream->detach(); } public function stream_stat() { static $modeMap = [ 'r' => 33060, 'rb' => 33060, 'r+' => 33206, 'w' => 33188, 'wb' => 33188 ]; return [ 'dev' => 0, 'ino' => 0, 'mode' => $modeMap[$this->mode], 'nlink' => 0, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => $this->stream->getSize() ?: 0, 'atime' => 0, 'mtime' => 0, 'ctime' => 0, 'blksize' => 0, 'blocks' => 0 ]; } public function url_stat($path, $flags) { return [ 'dev' => 0, 'ino' => 0, 'mode' => 0, 'nlink' => 0, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 0, 'atime' => 0, 'mtime' => 0, 'ctime' => 0, 'blksize' => 0, 'blocks' => 0 ]; } }