MediaWiki master
MediaWiki\Block\DatabaseBlockStoreFactory Class Reference

Public Member Functions

 __construct (ServiceOptions $options, LoggerInterface $logger, ActorStoreFactory $actorStoreFactory, BlockRestrictionStoreFactory $blockRestrictionStoreFactory, CommentStore $commentStore, HookContainer $hookContainer, LBFactory $loadBalancerFactory, ReadOnlyMode $readOnlyMode, UserFactory $userFactory, TempUserConfig $tempUserConfig, BlockUtilsFactory $blockUtilsFactory, AutoblockExemptionList $autoblockExemptionList)
 
 getDatabaseBlockStore ( $wikiId=DatabaseBlock::LOCAL)
 

Public Attributes

const CONSTRUCTOR_OPTIONS = DatabaseBlockStore::CONSTRUCTOR_OPTIONS
 

Detailed Description

Author
Zabe
Since
1.40

Definition at line 38 of file DatabaseBlockStoreFactory.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Block\DatabaseBlockStoreFactory::__construct ( ServiceOptions $options,
LoggerInterface $logger,
ActorStoreFactory $actorStoreFactory,
BlockRestrictionStoreFactory $blockRestrictionStoreFactory,
CommentStore $commentStore,
HookContainer $hookContainer,
LBFactory $loadBalancerFactory,
ReadOnlyMode $readOnlyMode,
UserFactory $userFactory,
TempUserConfig $tempUserConfig,
BlockUtilsFactory $blockUtilsFactory,
AutoblockExemptionList $autoblockExemptionList )
Parameters
ServiceOptions$options
LoggerInterface$logger
ActorStoreFactory$actorStoreFactory
BlockRestrictionStoreFactory$blockRestrictionStoreFactory
CommentStore$commentStore
HookContainer$hookContainer
LBFactory$loadBalancerFactory
ReadOnlyMode$readOnlyMode
UserFactory$userFactory
TempUserConfig$tempUserConfig
BlockUtilsFactory$blockUtilsFactory
AutoblockExemptionList$autoblockExemptionList

Definition at line 97 of file DatabaseBlockStoreFactory.php.

References MediaWiki\Config\ServiceOptions\assertRequiredOptions().

Member Function Documentation

◆ getDatabaseBlockStore()

MediaWiki\Block\DatabaseBlockStoreFactory::getDatabaseBlockStore ( $wikiId = DatabaseBlock::LOCAL)
Parameters
string | false$wikiId
Returns
DatabaseBlockStore

Definition at line 131 of file DatabaseBlockStoreFactory.php.

Member Data Documentation

◆ CONSTRUCTOR_OPTIONS

const MediaWiki\Block\DatabaseBlockStoreFactory::CONSTRUCTOR_OPTIONS = DatabaseBlockStore::CONSTRUCTOR_OPTIONS
Access: internal
For use by ServiceWiring

Definition at line 42 of file DatabaseBlockStoreFactory.php.


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