Basic lock feature for commands.
- Full name:
\Symfony\Component\Console\Command\LockableTrait
private \Symfony\Component\Lock\LockInterface|null $lock
Locks a command.
private lock(string $name = null, bool $blocking = false): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
string | |
$blocking |
bool |
Releases the command lock if there is one.
private release(): mixed