MediaWiki master
MediaWiki\User\UserGroupManagerFactory Class Reference

Factory service for UserGroupManager instances. More...

Public Member Functions

 __construct (ServiceOptions $options, ReadOnlyMode $readOnlyMode, ILBFactory $dbLoadBalancerFactory, HookContainer $hookContainer, UserEditTracker $userEditTracker, GroupPermissionsLookup $groupPermissionsLookup, JobQueueGroupFactory $jobQueueGroupFactory, LoggerInterface $logger, TempUserConfig $tempUserConfig, array $clearCacheCallbacks=[])
 
 getUserGroupManager ( $wikiId=UserIdentity::LOCAL)
 

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,
ReadOnlyMode $readOnlyMode,
ILBFactory $dbLoadBalancerFactory,
HookContainer $hookContainer,
UserEditTracker $userEditTracker,
GroupPermissionsLookup $groupPermissionsLookup,
JobQueueGroupFactory $jobQueueGroupFactory,
LoggerInterface $logger,
TempUserConfig $tempUserConfig,
array $clearCacheCallbacks = [] )
Parameters
ServiceOptions$options
ReadOnlyMode$readOnlyMode
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 70 of file UserGroupManagerFactory.php.

Member Function Documentation

◆ getUserGroupManager()

MediaWiki\User\UserGroupManagerFactory::getUserGroupManager ( $wikiId = UserIdentity::LOCAL)
Parameters
string | false$wikiId
Returns
UserGroupManager

Definition at line 98 of file UserGroupManagerFactory.php.


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