MediaWiki
1.34.0
|
Service to construct LockManagerGroups. More...
Public Member Functions | |
__construct ( $defaultDomain, array $lockManagerConfigs, LBFactory $lbFactory) | |
Do not call directly, use MediaWikiServices. More... | |
getLockManagerGroup ( $domain=false) | |
Private Attributes | |
string | $defaultDomain |
LockManagerGroup[] | $instances = [] |
(domain => LockManagerGroup) More... | |
LBFactory | $lbFactory |
array | $lockManagerConfigs |
Service to construct LockManagerGroups.
Definition at line 11 of file LockManagerGroupFactory.php.
MediaWiki\FileBackend\LockManager\LockManagerGroupFactory::__construct | ( | $defaultDomain, | |
array | $lockManagerConfigs, | ||
LBFactory | $lbFactory | ||
) |
Do not call directly, use MediaWikiServices.
string | $defaultDomain | |
array | $lockManagerConfigs | In format of $wgLockManagers |
LBFactory | $lbFactory |
Definition at line 31 of file LockManagerGroupFactory.php.
References MediaWiki\FileBackend\LockManager\LockManagerGroupFactory\$defaultDomain, MediaWiki\FileBackend\LockManager\LockManagerGroupFactory\$lbFactory, and MediaWiki\FileBackend\LockManager\LockManagerGroupFactory\$lockManagerConfigs.
MediaWiki\FileBackend\LockManager\LockManagerGroupFactory::getLockManagerGroup | ( | $domain = false | ) |
string | null | false | $domain | Domain (usually wiki ID). false for the default (normally the current wiki's domain). |
Definition at line 42 of file LockManagerGroupFactory.php.
References MediaWiki\FileBackend\LockManager\LockManagerGroupFactory\$defaultDomain.
|
private |
Definition at line 13 of file LockManagerGroupFactory.php.
Referenced by MediaWiki\FileBackend\LockManager\LockManagerGroupFactory\__construct(), and MediaWiki\FileBackend\LockManager\LockManagerGroupFactory\getLockManagerGroup().
|
private |
(domain => LockManagerGroup)
Definition at line 22 of file LockManagerGroupFactory.php.
|
private |
Definition at line 19 of file LockManagerGroupFactory.php.
Referenced by MediaWiki\FileBackend\LockManager\LockManagerGroupFactory\__construct().
|
private |
Definition at line 16 of file LockManagerGroupFactory.php.
Referenced by MediaWiki\FileBackend\LockManager\LockManagerGroupFactory\__construct().