Documentation

LockableTrait

Basic lock feature for commands.

Tags
author

Geoffrey Brier geoffrey.brier@gmail.com

Table of Contents

$lock  : LockInterface|null
lock()  : bool
Locks a command.
release()  : mixed
Releases the command lock if there is one.

Properties

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
Return values
mixed

Search results