ACIL FM
Dark
Refresh
Current DIR:
/opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/symfony/console/Command
/
opt
cpanel
ea-wappspector
vendor
rector
rector
vendor
symfony
console
Command
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
Command.php
23.54 MB
chmod
View
DL
Edit
Rename
Delete
CompleteCommand.php
8.95 MB
chmod
View
DL
Edit
Rename
Delete
DumpCompletionCommand.php
5.59 MB
chmod
View
DL
Edit
Rename
Delete
HelpCommand.php
2.58 MB
chmod
View
DL
Edit
Rename
Delete
LazyCommand.php
6.36 MB
chmod
View
DL
Edit
Rename
Delete
ListCommand.php
2.51 MB
chmod
View
DL
Edit
Rename
Delete
LockableTrait.php
1.87 MB
chmod
View
DL
Edit
Rename
Delete
SignalableCommandInterface.php
841 B
chmod
View
DL
Edit
Rename
Delete
TraceableCommand.php
11.07 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/symfony/console/Command/LockableTrait.php
<?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 RectorPrefix202411\Symfony\Component\Console\Command; use RectorPrefix202411\Symfony\Component\Console\Exception\LogicException; use RectorPrefix202411\Symfony\Component\Lock\LockFactory; use RectorPrefix202411\Symfony\Component\Lock\LockInterface; use RectorPrefix202411\Symfony\Component\Lock\Store\FlockStore; use RectorPrefix202411\Symfony\Component\Lock\Store\SemaphoreStore; /** * Basic lock feature for commands. * * @author Geoffrey Brier <geoffrey.brier@gmail.com> */ trait LockableTrait { /** * @var \Symfony\Component\Lock\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. Try running "composer require symfony/lock".'); } 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() : void { if ($this->lock) { $this->lock->release(); $this->lock = null; } } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply