Documentation

LockableTrait

Basic lock feature for commands.

Tags
author

Geoffrey Brier geoffrey.brier@gmail.com

Table of Contents

Properties

$lockHandler  : mixed

Methods

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

Properties

Methods

lock()

Locks a command.

private lock([mixed $name = null ][, mixed $blocking = false ]) : bool
Parameters
$name : mixed = null
$blocking : mixed = false
Return values
bool

release()

Releases the command lock if there is one.

private release() : mixed

        
On this page

Search results