Linux sg77.dns-private.com 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
LiteSpeed
Server IP : 135.181.230.13 & Your IP : 216.73.217.69
Domains :
Cant Read [ /etc/named.conf ]
User : pilasate
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
pilasate /
schoolms /
vendor /
symfony /
process /
Delete
Unzip
Name
Size
Permission
Date
Action
Exception
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Messenger
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Pipes
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
CHANGELOG.md
4.22
KB
-rw-rw-rw-
2025-02-04 21:33
ExecutableFinder.php
3.48
KB
-rw-rw-rw-
2025-02-04 21:33
InputStream.php
2.33
KB
-rw-rw-rw-
2025-02-04 21:33
LICENSE
1.04
KB
-rw-rw-rw-
2025-02-04 21:33
PhpExecutableFinder.php
2.37
KB
-rw-rw-rw-
2025-02-04 21:33
PhpProcess.php
2.36
KB
-rw-rw-rw-
2025-02-04 21:33
PhpSubprocess.php
5.92
KB
-rw-rw-rw-
2025-02-04 21:33
Process.php
53.53
KB
-rw-rw-rw-
2025-02-04 21:33
ProcessUtils.php
1.71
KB
-rw-rw-rw-
2025-02-04 21:33
README.md
472
B
-rw-rw-rw-
2025-02-04 21:33
composer.json
671
B
-rw-rw-rw-
2025-02-04 21:33
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Process; use Symfony\Component\Process\Exception\RuntimeException; /** * Provides a way to continuously write to the input of a Process until the InputStream is closed. * * @author Nicolas Grekas <p@tchwork.com> * * @implements \IteratorAggregate<int, string> */ class InputStream implements \IteratorAggregate { private ?\Closure $onEmpty = null; private array $input = []; private bool $open = true; /** * Sets a callback that is called when the write buffer becomes empty. */ public function onEmpty(?callable $onEmpty = null): void { $this->onEmpty = null !== $onEmpty ? $onEmpty(...) : null; } /** * Appends an input to the write buffer. * * @param resource|string|int|float|bool|\Traversable|null $input The input to append as scalar, * stream resource or \Traversable */ public function write(mixed $input): void { if (null === $input) { return; } if ($this->isClosed()) { throw new RuntimeException(\sprintf('"%s" is closed.', static::class)); } $this->input[] = ProcessUtils::validateInput(__METHOD__, $input); } /** * Closes the write buffer. */ public function close(): void { $this->open = false; } /** * Tells whether the write buffer is closed or not. */ public function isClosed(): bool { return !$this->open; } public function getIterator(): \Traversable { $this->open = true; while ($this->open || $this->input) { if (!$this->input) { yield ''; continue; } $current = array_shift($this->input); if ($current instanceof \Iterator) { yield from $current; } else { yield $current; } if (!$this->input && $this->open && null !== $onEmpty = $this->onEmpty) { $this->write($onEmpty($this)); } } } }