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