Class to handle file lock manager registration.
More...
|
| config ( $name) |
| Get the config array for a lock manager object with a given name.
|
|
| get ( $name) |
| Get the lock manager object with a given name.
|
|
| getAny () |
| Get the default lock manager configured for the site or at least some other effective configured lock manager.
|
|
| getDefault () |
| Get the default lock manager configured for the site.
|
|
Class to handle file lock manager registration.
- Since
- 1.19
Definition at line 32 of file LockManagerGroup.php.
◆ __construct()
LockManagerGroup::__construct |
( |
| $domain | ) |
|
|
protected |
◆ config()
LockManagerGroup::config |
( |
| $name | ) |
|
Get the config array for a lock manager object with a given name.
- Parameters
-
- Returns
- array
- Exceptions
-
Definition at line 142 of file LockManagerGroup.php.
References $name.
◆ destroySingletons()
static LockManagerGroup::destroySingletons |
( |
| ) |
|
|
static |
◆ get()
LockManagerGroup::get |
( |
| $name | ) |
|
◆ getAny()
LockManagerGroup::getAny |
( |
| ) |
|
Get the default lock manager configured for the site or at least some other effective configured lock manager.
Throws an exception if no lock manager could be found.
- Returns
- LockManager
- Exceptions
-
Definition at line 171 of file LockManagerGroup.php.
◆ getDefault()
LockManagerGroup::getDefault |
( |
| ) |
|
◆ initFromGlobals()
LockManagerGroup::initFromGlobals |
( |
| ) |
|
|
protected |
◆ register()
LockManagerGroup::register |
( |
array | $configs | ) |
|
|
protected |
◆ singleton()
static LockManagerGroup::singleton |
( |
| $domain = false | ) |
|
|
static |
◆ $domain
LockManagerGroup::$domain |
|
protected |
◆ $instances
◆ $managers
array LockManagerGroup::$managers = [] |
|
protected |
Array of (name => ('class' => ..., 'config' => ..., 'instance' => ...))
Definition at line 39 of file LockManagerGroup.php.
The documentation for this class was generated from the following file: