MediaWiki REL1_37
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, GroupPermissionsLookup $groupPermissionsLookup, JobQueueGroupFactory $jobQueueGroupFactory, LoggerInterface $logger, array $clearCacheCallbacks=[])
 
 getUserGroupManager ( $dbDomain=false)
 

Private Attributes

callable[] $clearCacheCallbacks
 
ConfiguredReadOnlyMode $configuredReadOnlyMode
 
ILBFactory $dbLoadBalancerFactory
 
GroupPermissionsLookup $groupPermissionLookup
 
HookContainer $hookContainer
 
JobQueueGroupFactory $jobQueueGroupFactory
 
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 37 of file UserGroupManagerFactory.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 76 of file UserGroupManagerFactory.php.

References MediaWiki\User\UserGroupManagerFactory\$clearCacheCallbacks, MediaWiki\User\UserGroupManagerFactory\$configuredReadOnlyMode, MediaWiki\User\UserGroupManagerFactory\$dbLoadBalancerFactory, MediaWiki\User\UserGroupManagerFactory\$hookContainer, MediaWiki\User\UserGroupManagerFactory\$jobQueueGroupFactory, MediaWiki\User\UserGroupManagerFactory\$logger, MediaWiki\User\UserGroupManagerFactory\$options, and MediaWiki\User\UserGroupManagerFactory\$userEditTracker.

Member Function Documentation

◆ getUserGroupManager()

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

Definition at line 102 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

◆ $groupPermissionLookup

GroupPermissionsLookup MediaWiki\User\UserGroupManagerFactory::$groupPermissionLookup
private

Definition at line 51 of file UserGroupManagerFactory.php.

◆ $hookContainer

HookContainer MediaWiki\User\UserGroupManagerFactory::$hookContainer
private

◆ $jobQueueGroupFactory

JobQueueGroupFactory MediaWiki\User\UserGroupManagerFactory::$jobQueueGroupFactory
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: