MediaWiki REL1_41
|
Class to handle file lock manager registration. More...
Public Member Functions | |
__construct ( $domain, array $lockManagerConfigs) | |
Do not call this directly. | |
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. | |
Protected Attributes | |
string | $domain |
domain (usually wiki ID) | |
array | $managers = [] |
Array of (name => ('class' => ..., 'config' => ..., 'instance' => ...)) | |
Class to handle file lock manager registration.
Definition at line 31 of file LockManagerGroup.php.
LockManagerGroup::__construct | ( | $domain, | |
array | $lockManagerConfigs ) |
Do not call this directly.
Use LockManagerGroupFactory.
string | $domain | Domain (usually wiki ID) |
array[] | $lockManagerConfigs | In format of $wgLockManagers |
Definition at line 44 of file LockManagerGroup.php.
LockManagerGroup::config | ( | $name | ) |
Get the config array for a lock manager object with a given name.
string | $name |
Exception |
Definition at line 97 of file LockManagerGroup.php.
LockManagerGroup::get | ( | $name | ) |
Get the lock manager object with a given name.
string | $name |
Exception |
Definition at line 73 of file LockManagerGroup.php.
|
protected |
domain (usually wiki ID)
Definition at line 33 of file LockManagerGroup.php.
|
protected |
Array of (name => ('class' => ..., 'config' => ..., 'instance' => ...))
Definition at line 36 of file LockManagerGroup.php.