CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Maintenance\IndexTemplateBuilder Class Reference

Public Member Functions

 __construct (Connection $connection, $templateName, array $templateDefinition, array $availablePlugins, $languageCode)
 
 execute ()
 
 getTemplateName ()
 

Static Public Member Functions

static build (Connection $connection, array $templateDefinition, array $availablePlugins)
 

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Maintenance\IndexTemplateBuilder::__construct ( Connection $connection,
$templateName,
array $templateDefinition,
array $availablePlugins,
$languageCode )
Parameters
Connection$connection
string$templateName
array$templateDefinition
string[]$availablePlugins
string$languageCode

Member Function Documentation

◆ build()

static CirrusSearch\Maintenance\IndexTemplateBuilder::build ( Connection $connection,
array $templateDefinition,
array $availablePlugins )
static
Parameters
Connection$connection
array$templateDefinition
string[]$availablePlugins
Returns
IndexTemplateBuilder
Exceptions

InvalidArgumentException

◆ getTemplateName()

CirrusSearch\Maintenance\IndexTemplateBuilder::getTemplateName ( )
Returns
string

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