PHP Class Sulu\Bundle\SearchBundle\Search\Configuration\IndexConfigurationProvider

Inheritance: implements Sulu\Bundle\SearchBundle\Search\Configuration\IndexConfigurationProviderInterface
Mostra file Open project: sulu/sulu

Public Methods

Method Description
__construct ( array $indexConfigurations )
getIndexConfiguration ( string $name ) : IndexConfiguration Returns the IndexConfiguration for the index with the given name.
getIndexConfigurations ( ) : IndexConfiguration[] Returns all IndexConfigurations available in this installation.

Method Details

__construct() public method

public __construct ( array $indexConfigurations )
$indexConfigurations array

getIndexConfiguration() public method

Returns the IndexConfiguration for the index with the given name.
public getIndexConfiguration ( string $name ) : IndexConfiguration
$name string The name of the index to get the IndexConfiguration from
return IndexConfiguration

getIndexConfigurations() public method

Returns all IndexConfigurations available in this installation.
public getIndexConfigurations ( ) : IndexConfiguration[]
return IndexConfiguration[]