MediaWiki REL1_35
MediaWiki\User\UserGroupManagerFactory Class Reference

Factory service for UserGroupManager instances. More...

Collaboration diagram for MediaWiki\User\UserGroupManagerFactory:

Public Member Functions

 __construct (ServiceOptions $options, ConfiguredReadOnlyMode $configuredReadOnlyMode, ILBFactory $dbLoadBalancerFactory, HookContainer $hookContainer, UserEditTracker $userEditTracker, LoggerInterface $logger, array $clearCacheCallbacks=[])
 
 getUserGroupManager ( $dbDomain=false)
 

Private Attributes

callable[] $clearCacheCallbacks
 
ConfiguredReadOnlyMode $configuredReadOnlyMode
 
ILBFactory $dbLoadBalancerFactory
 
HookContainer $hookContainer
 
LoggerInterface $logger
 
ServiceOptions $options
 
UserEditTracker $userEditTracker
 

Detailed Description

Factory service for UserGroupManager instances.

This allows UserGroupManager to be created for cross-wiki access.

Since
1.35

Definition at line 35 of file UserGroupManagerFactory.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\User\UserGroupManagerFactory::__construct ( ServiceOptions  $options,
ConfiguredReadOnlyMode  $configuredReadOnlyMode,
ILBFactory  $dbLoadBalancerFactory,
HookContainer  $hookContainer,
UserEditTracker  $userEditTracker,
LoggerInterface  $logger,
array  $clearCacheCallbacks = [] 
)

Member Function Documentation

◆ getUserGroupManager()

MediaWiki\User\UserGroupManagerFactory::getUserGroupManager (   $dbDomain = false)
Parameters
string | bool$dbDomain
Returns
UserGroupManager

Definition at line 88 of file UserGroupManagerFactory.php.

Member Data Documentation

◆ $clearCacheCallbacks

callable [] MediaWiki\User\UserGroupManagerFactory::$clearCacheCallbacks
private

◆ $configuredReadOnlyMode

ConfiguredReadOnlyMode MediaWiki\User\UserGroupManagerFactory::$configuredReadOnlyMode
private

◆ $dbLoadBalancerFactory

ILBFactory MediaWiki\User\UserGroupManagerFactory::$dbLoadBalancerFactory
private

◆ $hookContainer

HookContainer MediaWiki\User\UserGroupManagerFactory::$hookContainer
private

◆ $logger

LoggerInterface MediaWiki\User\UserGroupManagerFactory::$logger
private

◆ $options

ServiceOptions MediaWiki\User\UserGroupManagerFactory::$options
private

◆ $userEditTracker

UserEditTracker MediaWiki\User\UserGroupManagerFactory::$userEditTracker
private

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