Documentation

LockableTrait

Basic lock feature for commands.

Tags
author

Geoffrey Brier geoffrey.brier@gmail.com

Table of Contents

Properties

$lock  : LockInterface|null

Methods

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

Properties

Methods

lock()

Locks a command.

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

release()

Releases the command lock if there is one.

private release() : void

        
On this page

Search results