Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
Symfony /
Component /
Console /
Command /
Delete
Unzip
Name
Size
Permission
Date
Action
Command.php
20.02
KB
-rw-r--r--
2026-05-27 08:15
CompleteCommand.php
8.33
KB
-rw-r--r--
2026-05-27 08:15
DumpCompletionCommand.php
4.81
KB
-rw-r--r--
2026-05-27 08:15
HelpCommand.php
3.04
KB
-rw-r--r--
2026-05-27 08:15
LazyCommand.php
5.26
KB
-rw-r--r--
2026-05-27 08:15
ListCommand.php
3.06
KB
-rw-r--r--
2026-05-27 08:15
LockableTrait.php
1.68
KB
-rw-r--r--
2026-05-27 08:15
SignalableCommandInterface.php
682
B
-rw-r--r--
2026-05-27 08:15
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; } } }