MediaWiki REL1_39
MediaWiki\User\UserGroupManagerFactory Class Reference

Factory service for UserGroupManager instances. More...

Public Member Functions

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

Detailed Description

Factory service for UserGroupManager instances.

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

Since
1.35

Definition at line 38 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,
TempUserConfig $tempUserConfig,
array $clearCacheCallbacks = [] )
Parameters
ServiceOptions$options
ConfiguredReadOnlyMode$configuredReadOnlyMode
ILBFactory$dbLoadBalancerFactory
HookContainer$hookContainer
UserEditTracker$userEditTracker
GroupPermissionsLookup$groupPermissionsLookup
JobQueueGroupFactory$jobQueueGroupFactory
LoggerInterface$logger
TempUserConfig$tempUserConfigAssumed to be the same across all domains.
callable[]$clearCacheCallbacks

Definition at line 81 of file UserGroupManagerFactory.php.

Member Function Documentation

◆ getUserGroupManager()

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

Definition at line 109 of file UserGroupManagerFactory.php.


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