loadBalancer = $loadBalancer; $this->blobStore = $blobStore; $this->cache = $cache; $this->commentStore = $commentStore; $this->contentModelStore = $contentModelStore; $this->slotRoleStore = $slotRoleStore; $this->mcrMigrationStage = $migrationStage; $this->actorMigration = $actorMigration; $this->logger = $logger; $this->contentHandlerUseDB = $contentHandlerUseDB; } /** * @since 1.32 * * @param bool|string $wikiId false for the current domain / wikid * * @return RevisionStore for the given wikiId with all necessary services and a logger */ public function getRevisionStore( $wikiId = false ) { Assert::parameterType( 'string|boolean', $wikiId, '$wikiId' ); $store = new RevisionStore( $this->loadBalancer, $this->blobStore, $this->cache, $this->commentStore, $this->contentModelStore, $this->slotRoleStore, $this->mcrMigrationStage, $this->actorMigration, $wikiId ); $store->setLogger( $this->logger ); $store->setContentHandlerUseDB( $this->contentHandlerUseDB ); return $store; } }