LockableTrait
Basic lock feature for commands.
Tags
Table of Contents
Properties
- $lock : Lock
Methods
Properties
$lock
private
Lock
$lock
Methods
lock()
Locks a command.
private
lock([string $name = null ][, bool $blocking = false ]) : bool
Parameters
- $name : string = null
- $blocking : bool = false
Return values
boolrelease()
Releases the command lock if there is one.
private
release() : mixed