Copied!

Basic lock feature for commands.

Trait
Properties
private ?Symfony\Component\Lock\LockInterface $lock = NULL
private ?Symfony\Component\Lock\LockFactory $lockFactory = 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.

© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration