MediaWiki master
MediaWiki\Installer\InstallerOverrides Class Reference

Static Public Member Functions

static getCliInstaller ( $siteName, $admin=null, array $options=[])
 Instantiates and returns an instance of CliInstaller or its descendant classes.
 
static getLocalSettingsGenerator (Installer $installer)
 Instantiates and returns an instance of LocalSettingsGenerator or its descendant classes.
 
static getWebInstaller (WebRequest $request)
 Instantiates and returns an instance of WebInstaller or its descendant classes.
 

Detailed Description

Since
1.20

Definition at line 31 of file InstallerOverrides.php.

Member Function Documentation

◆ getCliInstaller()

static MediaWiki\Installer\InstallerOverrides::getCliInstaller ( $siteName,
$admin = null,
array $options = [] )
static

Instantiates and returns an instance of CliInstaller or its descendant classes.

Parameters
string$siteName
string | null$admin
array$options
Returns
CliInstaller

Definition at line 76 of file InstallerOverrides.php.

◆ getLocalSettingsGenerator()

static MediaWiki\Installer\InstallerOverrides::getLocalSettingsGenerator ( Installer $installer)
static

Instantiates and returns an instance of LocalSettingsGenerator or its descendant classes.

Parameters
Installer$installer
Returns
LocalSettingsGenerator

Definition at line 54 of file InstallerOverrides.php.

Referenced by MediaWiki\Installer\CliInstaller\writeConfigurationFile().

◆ getWebInstaller()

static MediaWiki\Installer\InstallerOverrides::getWebInstaller ( WebRequest $request)
static

Instantiates and returns an instance of WebInstaller or its descendant classes.

Parameters
WebRequest$request
Returns
WebInstaller

Definition at line 64 of file InstallerOverrides.php.


The documentation for this class was generated from the following file: