public function getConfiguration()
    {
        $indexes = [];
        foreach ($this->configArray as $config) {
            $types = $this->getTypes($config);
            $index = new IndexConfig($config['name'], $types, [
                'elasticSearchName' => $config['elasticsearch_name'],
                'settings' => $config['settings'],
                'useAlias' => $config['use_alias'],
            ]);

            $indexes[$config['name']] = $index;
        }

        return $indexes;
    }
public function getConfiguration()
    {
        $indexes = [];
        foreach ($this->configArray as $config) {
            $types = $this->getTypes($config);
            $index = new IndexConfig($config['name'], $types, [
                'elasticSearchName' => $config['elasticsearch_name'],
                'settings' => $config['settings'],
                'useAlias' => $config['use_alias'],
            ]);

            $indexes[$config['name']] = $index;
        }

        return $indexes;
    }
public function getConfiguration ( ) { $ indexes = [ ] ; foreach ( $ this -> configArray as $ config ) { $ types = $ this -> getTypes ( $ config ) ; $ index = new IndexConfig ( $ config [ 'name' ] , $ types , [ 'elasticSearchName' => $ config [ 'elasticsearch_name' ] , 'settings' => $ config [ 'settings' ] , 'useAlias' => $ config [ 'use_alias' ] , ] ) ; $ indexes [ $ config [ 'name' ] ] = $ index ; } return $ indexes ; }
Should return all configuration available from the data source.

@return IndexConfig[]
Should return all configuration available from the data source .