MediaWiki REL1_39
MediaWiki\FileBackend\LockManager\LockManagerGroupFactory Class Reference

Service to construct LockManagerGroups. More...

Public Member Functions

 __construct ( $defaultDomain, array $lockManagerConfigs)
 Do not call directly, use MediaWikiServices.
 
 getLockManagerGroup ( $domain=false)
 

Detailed Description

Service to construct LockManagerGroups.

Definition at line 10 of file LockManagerGroupFactory.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\FileBackend\LockManager\LockManagerGroupFactory::__construct (   $defaultDomain,
array  $lockManagerConfigs 
)

Do not call directly, use MediaWikiServices.

Parameters
string$defaultDomain
array$lockManagerConfigsIn format of $wgLockManagers

Definition at line 26 of file LockManagerGroupFactory.php.

Member Function Documentation

◆ getLockManagerGroup()

MediaWiki\FileBackend\LockManager\LockManagerGroupFactory::getLockManagerGroup (   $domain = false)
Parameters
string | null | false$domainDomain (usually wiki ID). false for the default (normally the current wiki's domain).
Returns
LockManagerGroup

Definition at line 36 of file LockManagerGroupFactory.php.


The documentation for this class was generated from the following file: