LockableTrait
Basic lock feature for commands.
Tags
Table of Contents
- $lock : Lock
- lock() : bool
- Locks a command.
- release() : mixed
- Releases the command lock if there is one.
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
bool —release()
Releases the command lock if there is one.
private
release() : mixed