MediaWiki
REL1_41
IForeignRepoWithDB.php
Go to the documentation of this file.
1
<?php
21
use
Wikimedia\Rdbms\IDatabase
;
22
39
interface
IForeignRepoWithDB
{
45
public
function
getPrimaryDB
();
46
52
public
function
getReplicaDB
();
53
}
IForeignRepoWithDB
A foreign repo that allows for direct access to the foreign MW database.
Definition
IForeignRepoWithDB.php:39
IForeignRepoWithDB\getReplicaDB
getReplicaDB()
Get a connection to the replica DB for the foreign repo.
IForeignRepoWithDB\getPrimaryDB
getPrimaryDB()
Get a connection to the primary DB for the foreign repo.
Wikimedia\Rdbms\IDatabase
Basic database interface for live and lazy-loaded relation database handles.
Definition
IDatabase.php:36
includes
filerepo
IForeignRepoWithDB.php
Generated on Wed Nov 27 2024 07:23:22 for MediaWiki by
1.10.0