MediaWiki
1.34.0
|
Factory service for RevisionStore instances. More...
Public Member Functions | |
__construct (ILBFactory $dbLoadBalancerFactory, BlobStoreFactory $blobStoreFactory, NameTableStoreFactory $nameTables, SlotRoleRegistry $slotRoleRegistry, WANObjectCache $cache, CommentStore $commentStore, ActorMigration $actorMigration, $migrationStage, LoggerInterface $logger, $contentHandlerUseDB) | |
getRevisionStore ( $dbDomain=false) | |
Private Attributes | |
ActorMigration | $actorMigration |
BlobStoreFactory | $blobStoreFactory |
WANObjectCache | $cache |
CommentStore | $commentStore |
bool | $contentHandlerUseDB |
ILBFactory | $dbLoadBalancerFactory |
LoggerInterface | $logger |
int | $mcrMigrationStage |
One of the MIGRATION_* constants. More... | |
NameTableStoreFactory | $nameTables |
SlotRoleRegistry | $slotRoleRegistry |
Factory service for RevisionStore instances.
This allows RevisionStores to be created for cross-wiki access.
Definition at line 49 of file RevisionStoreFactory.php.
Revision\RevisionStoreFactory::__construct | ( | ILBFactory | $dbLoadBalancerFactory, |
BlobStoreFactory | $blobStoreFactory, | ||
NameTableStoreFactory | $nameTables, | ||
SlotRoleRegistry | $slotRoleRegistry, | ||
WANObjectCache | $cache, | ||
CommentStore | $commentStore, | ||
ActorMigration | $actorMigration, | ||
$migrationStage, | |||
LoggerInterface | $logger, | ||
$contentHandlerUseDB | |||
) |
ILBFactory | $dbLoadBalancerFactory | |
BlobStoreFactory | $blobStoreFactory | |
NameTableStoreFactory | $nameTables | |
SlotRoleRegistry | $slotRoleRegistry | |
WANObjectCache | $cache | |
CommentStore | $commentStore | |
ActorMigration | $actorMigration | |
int | $migrationStage | |
LoggerInterface | $logger | |
bool | $contentHandlerUseDB | see $wgContentHandlerUseDB. Must be the same for all wikis in the cluster. Will go away after MCR migration. |
Definition at line 91 of file RevisionStoreFactory.php.
References Revision\RevisionStoreFactory\$actorMigration, Revision\RevisionStoreFactory\$blobStoreFactory, Revision\RevisionStoreFactory\$cache, Revision\RevisionStoreFactory\$commentStore, Revision\RevisionStoreFactory\$contentHandlerUseDB, Revision\RevisionStoreFactory\$dbLoadBalancerFactory, Revision\RevisionStoreFactory\$logger, Revision\RevisionStoreFactory\$nameTables, and Revision\RevisionStoreFactory\$slotRoleRegistry.
Revision\RevisionStoreFactory::getRevisionStore | ( | $dbDomain = false | ) |
bool | string | $dbDomain | DB domain of the relevant wiki or false for the current one |
Definition at line 123 of file RevisionStoreFactory.php.
References Revision\RevisionStoreFactory\$actorMigration, Revision\RevisionStoreFactory\$cache, Revision\RevisionStoreFactory\$commentStore, Revision\RevisionStoreFactory\$mcrMigrationStage, Revision\RevisionStoreFactory\$slotRoleRegistry, and Revision\RevisionStore\setLogger().
|
private |
Definition at line 63 of file RevisionStoreFactory.php.
Referenced by Revision\RevisionStoreFactory\__construct(), and Revision\RevisionStoreFactory\getRevisionStore().
|
private |
Definition at line 52 of file RevisionStoreFactory.php.
Referenced by Revision\RevisionStoreFactory\__construct().
|
private |
Definition at line 56 of file RevisionStoreFactory.php.
Referenced by Revision\RevisionStoreFactory\__construct(), and Revision\RevisionStoreFactory\getRevisionStore().
|
private |
Definition at line 61 of file RevisionStoreFactory.php.
Referenced by Revision\RevisionStoreFactory\__construct(), and Revision\RevisionStoreFactory\getRevisionStore().
|
private |
Definition at line 70 of file RevisionStoreFactory.php.
Referenced by Revision\RevisionStoreFactory\__construct().
|
private |
Definition at line 54 of file RevisionStoreFactory.php.
Referenced by Revision\RevisionStoreFactory\__construct().
|
private |
Definition at line 58 of file RevisionStoreFactory.php.
Referenced by Revision\RevisionStoreFactory\__construct().
|
private |
One of the MIGRATION_* constants.
Definition at line 65 of file RevisionStoreFactory.php.
Referenced by Revision\RevisionStoreFactory\getRevisionStore().
|
private |
Definition at line 73 of file RevisionStoreFactory.php.
Referenced by Revision\RevisionStoreFactory\__construct().
|
private |
Definition at line 76 of file RevisionStoreFactory.php.
Referenced by Revision\RevisionStoreFactory\__construct(), and Revision\RevisionStoreFactory\getRevisionStore().