OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
oauth
/
vendor
/
guzzlehttp
/
psr7
/
src
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
09/30/2021 11:53:24 AM
rwxr-xr-x
📄
AppendStream.php
5.77 KB
09/30/2021 11:53:19 AM
rw-r--r--
📄
BufferStream.php
3.1 KB
09/30/2021 11:53:16 AM
rw-r--r--
📄
CachingStream.php
4.31 KB
09/30/2021 11:53:11 AM
rw-r--r--
📄
DroppingStream.php
1.12 KB
09/30/2021 11:53:15 AM
rw-r--r--
📄
FnStream.php
4.31 KB
09/30/2021 11:53:09 AM
rw-r--r--
📄
Header.php
2.04 KB
09/30/2021 11:53:15 AM
rw-r--r--
📄
HttpFactory.php
3.02 KB
09/30/2021 11:53:16 AM
rw-r--r--
📄
InflateStream.php
1.3 KB
09/30/2021 11:53:13 AM
rw-r--r--
📄
LazyOpenStream.php
899 bytes
09/30/2021 11:53:15 AM
rw-r--r--
📄
LimitStream.php
4.14 KB
09/30/2021 11:53:20 AM
rw-r--r--
📄
Message.php
8.01 KB
09/30/2021 11:53:21 AM
rw-r--r--
📄
MessageTrait.php
6.46 KB
09/30/2021 11:53:10 AM
rw-r--r--
📄
MimeType.php
4.2 KB
09/30/2021 11:53:11 AM
rw-r--r--
📄
MultipartStream.php
4.67 KB
09/30/2021 11:53:21 AM
rw-r--r--
📄
NoSeekStream.php
470 bytes
09/30/2021 11:53:12 AM
rw-r--r--
📄
PumpStream.php
4.43 KB
09/30/2021 11:53:11 AM
rw-r--r--
📄
Query.php
3.55 KB
09/30/2021 11:53:18 AM
rw-r--r--
📄
Request.php
3.81 KB
09/30/2021 11:53:14 AM
rw-r--r--
📄
Response.php
4.79 KB
09/30/2021 11:53:12 AM
rw-r--r--
📄
Rfc7230.php
665 bytes
09/30/2021 11:53:22 AM
rw-r--r--
📄
ServerRequest.php
9.23 KB
09/30/2021 11:53:20 AM
rw-r--r--
📄
Stream.php
7.05 KB
09/30/2021 11:53:14 AM
rw-r--r--
📄
StreamDecoratorTrait.php
3.22 KB
09/30/2021 11:53:17 AM
rw-r--r--
📄
StreamWrapper.php
4.01 KB
09/30/2021 11:53:13 AM
rw-r--r--
📄
UploadedFile.php
4.75 KB
09/30/2021 11:53:18 AM
rw-r--r--
📄
Uri.php
21.3 KB
09/30/2021 11:53:17 AM
rw-r--r--
📄
UriNormalizer.php
8.22 KB
09/30/2021 11:53:10 AM
rw-r--r--
📄
UriResolver.php
8.36 KB
09/30/2021 11:53:19 AM
rw-r--r--
📄
Utils.php
13.9 KB
09/30/2021 11:53:18 AM
rw-r--r--
Editing: LazyOpenStream.php
Close
<?php declare(strict_types=1); namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; /** * Lazily reads or writes to a file that is opened only after an IO operation * take place on the stream. */ final class LazyOpenStream implements StreamInterface { use StreamDecoratorTrait; /** @var string */ private $filename; /** @var string */ private $mode; /** * @param string $filename File to lazily open * @param string $mode fopen mode to use when opening the stream */ public function __construct(string $filename, string $mode) { $this->filename = $filename; $this->mode = $mode; } /** * Creates the underlying stream lazily when required. */ protected function createStream(): StreamInterface { return Utils::streamFor(Utils::tryFopen($this->filename, $this->mode)); } }