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)
 
 getDatabaseBlockStore ( $wikiId=DatabaseBlock::LOCAL)
 

Public Attributes

const CONSTRUCTOR_OPTIONS = DatabaseBlockStore::CONSTRUCTOR_OPTIONS
 

Detailed Description

Author
Zabe
Since
1.40

Definition at line 37 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 
)
Parameters
ServiceOptions$options
LoggerInterface$logger
ActorStoreFactory$actorStoreFactory
BlockRestrictionStoreFactory$blockRestrictionStoreFactory
CommentStore$commentStore
HookContainer$hookContainer
LBFactory$loadBalancerFactory
ReadOnlyMode$readOnlyMode
UserFactory$userFactory

Definition at line 84 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 112 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 41 of file DatabaseBlockStoreFactory.php.


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