Basic lock feature for commands.
- author Geoffrey Brier
Trait
Properties |
private ?Symfony\Component\Lock\LockInterface $lock = NULL |
Methods |
private lock(?string $name = NULL, bool $blocking = false) : bool Locks a command. |
private release() : void Releases the command lock if there is one. |