src/ServiceProvider.php
/**
	 * Configures the provided Indices manager.
	 * @param IndicesManager $manager IndicesManager to be configured.
	 */
Configures the provided Indices manager.
@param IndicesManager $manager IndicesManager to be configured.
Configures the provided Indices manager . @param IndicesManager $manager IndicesManager to be configured .
protected function extendIndicesManager(IndicesManager $manager): void
	{
		$indices = array_map(function($index) {
			return $this->app->make($index);
		}, $this->app['config']->get('elasticsearcher.indices', []));
		$manager->registerIndices($indices);
	}
protected function extendIndicesManager ( IndicesManager $ manager ) : void { $ indices = array_map ( function ( $ index ) { return $ this -> app -> make ( $ index ) ; } , $ this -> app [ 'config' ] -> get ( 'elasticsearcher.indices' , [ ] ) ) ; $ manager -> registerIndices ( $ indices ) ; }
Configures the provided Indices manager.
Configures the provided Indices manager .