\Symfony\Component\Console\CommandLockableTrait

Basic lock feature for commands.

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
lock()
release()
$lock
N/A

Properties

$lock

$lock : \Symfony\Component\Lock\Lock

Type

\Symfony\Component\Lock\Lock

Methods

lock()

lock(  $name = null,   $blocking = false) : boolean

Locks a command.

Parameters

$name
$blocking

Returns

boolean

release()

release() 

Releases the command lock if there is one.