MediaWiki 1.40.4
MediaWiki\Block\DatabaseBlockStoreFactory Class Reference

Public Member Functions

 __construct (ServiceOptions $options, LoggerInterface $logger, ActorStoreFactory $actorStoreFactory, BlockRestrictionStoreFactory $blockRestrictionStoreFactory, CommentStore $commentStore, HookContainer $hookContainer, LBFactory $loadBalancerFactory, ConfiguredReadOnlyMode $configuredReadOnlyMode, UserFactory $userFactory)
 
 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,
ConfiguredReadOnlyMode $configuredReadOnlyMode,
UserFactory $userFactory )
Parameters
ServiceOptions$options
LoggerInterface$logger
ActorStoreFactory$actorStoreFactory
BlockRestrictionStoreFactory$blockRestrictionStoreFactory
CommentStore$commentStore
HookContainer$hookContainer
LBFactory$loadBalancerFactory
ConfiguredReadOnlyMode$configuredReadOnlyMode
UserFactory$userFactory

Definition at line 85 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 113 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: