Documentation

LockableTrait

Basic lock feature for commands.

Tags
author

Geoffrey Brier geoffrey.brier@gmail.com

Table of Contents

Properties

$lock  : Lock

Methods

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

        
On this page

Search results