Helper for creating databases.
More...
Inherited by MediaWiki\Installer\NetworkedDatabaseCreator, and MediaWiki\Installer\SqliteDatabaseCreator.
|
| createInLoadBalancer (ILoadBalancer $loadBalancer, $database) |
| Create a database in the specified LoadBalancer which may be for an external cluster.
|
|
| createLocally ( $database) |
| Create a database in the local cluster or install context.
|
|
| existsInLoadBalancer (ILoadBalancer $loadBalancer, $database) |
| Check if a database exists in the specified LoadBalancer which may be for an external cluster.
|
|
| existsLocally ( $database) |
| Check if a database exists on the local cluster or context.
|
|
Helper for creating databases.
- Since
- 1.44
Definition at line 15 of file DatabaseCreator.php.
◆ __construct()
MediaWiki\Installer\DatabaseCreator::__construct |
( |
ITaskContext | $context | ) |
|
|
protected |
◆ createInLoadBalancer()
MediaWiki\Installer\DatabaseCreator::createInLoadBalancer |
( |
ILoadBalancer | $loadBalancer, |
|
|
| $database ) |
|
abstract |
◆ createInstance()
static MediaWiki\Installer\DatabaseCreator::createInstance |
( |
ITaskContext | $context | ) |
|
|
static |
◆ createLocally()
MediaWiki\Installer\DatabaseCreator::createLocally |
( |
| $database | ) |
|
|
abstract |
◆ existsInLoadBalancer()
MediaWiki\Installer\DatabaseCreator::existsInLoadBalancer |
( |
ILoadBalancer | $loadBalancer, |
|
|
| $database ) |
|
abstract |
◆ existsLocally()
MediaWiki\Installer\DatabaseCreator::existsLocally |
( |
| $database | ) |
|
|
abstract |
◆ $context
The documentation for this class was generated from the following file: