Page MenuHomePhabricator

raw-paste-data.txt

Authored By
daniel
May 10 2021, 9:35 AM
Size
1 KB
Referenced Files
None
Subscribers
None

raw-paste-data.txt

/**
* @param ServiceOptions $options
* @param LoggerInterface $logger
* @param ActorStoreFactory $actorStoreFactory
* @param BlockRestrictionStore $blockRestrictionStore
* @param CommentStore $commentStore
* @param HookContainer $hookContainer
* @param ILoadBalancer $loadBalancer
* @param ReadOnlyMode $readOnlyMode
*/
public function __construct(
ServiceOptions $options,
LoggerInterface $logger,
$actorStoreFactory,
BlockRestrictionStore $blockRestrictionStore,
CommentStore $commentStore,
HookContainer $hookContainer,
ILoadBalancer $loadBalancer,
ReadOnlyMode $readOnlyMode
) {
$options->assertRequiredOptions( self::CONSTRUCTOR_OPTIONS );
$this->options = $options;
$this->logger = $logger;
$this->actorNormalization = $actorNormalization;
$this->blockRestrictionStore = $blockRestrictionStore;
$this->commentStore = $commentStore;
$this->hookRunner = new HookRunner( $hookContainer );
$this->loadBalancer = $loadBalancer;
$this->readOnlyMode = $readOnlyMode;
if ( $actorStoreFactory insteanceof ActorStoreFactory ) {
$this->actorStoreFactory = $actorStoreFactory;
} else {
$this->actorStoreFactory = MediaWikiServices::getInstance()->getActorStoreFactory();
}
}

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9069804
Default Alt Text
raw-paste-data.txt (1 KB)

Event Timeline