MediaWiki master
|
Factory class for SearchEngine. More...
Public Member Functions | |
__construct (SearchEngineConfig $config, HookContainer $hookContainer, IConnectionProvider $dbProvider) | |
create ( $type=null) | |
Create SearchEngine of the given type. | |
Static Public Member Functions | |
static | getSearchEngineClass (IConnectionProvider $dbProvider) |
Factory class for SearchEngine.
Allows to create engine of the specific type.
Definition at line 11 of file SearchEngineFactory.php.
SearchEngineFactory::__construct | ( | SearchEngineConfig | $config, |
HookContainer | $hookContainer, | ||
IConnectionProvider | $dbProvider ) |
SearchEngineConfig | $config | |
HookContainer | $hookContainer | |
IConnectionProvider | $dbProvider |
Definition at line 28 of file SearchEngineFactory.php.
SearchEngineFactory::create | ( | $type = null | ) |
Create SearchEngine of the given type.
string | null | $type |
Definition at line 44 of file SearchEngineFactory.php.
Referenced by MediaWiki\SpecialPage\SpecialPage\prefixSearchString().
|
static |
IConnectionProvider | $dbProvider |
Definition at line 80 of file SearchEngineFactory.php.
References Wikimedia\Rdbms\IConnectionProvider\getReplicaDatabase().