lib/Elastica/Cluster/Health.php
public function getIndices(): array
    {
        $indices = [];
        foreach ($this->_data['indices'] as $indexName => $index) {
            $indices[$indexName] = new Index($indexName, $index);
        }

        return $indices;
    }
public function getIndices(): array
    {
        $indices = [];
        foreach ($this->_data['indices'] as $indexName => $index) {
            $indices[$indexName] = new Index($indexName, $index);
        }

        return $indices;
    }
public function getIndices ( ) : array { $ indices = [ ] ; foreach ( $ this -> _data [ 'indices' ] as $ indexName => $ index ) { $ indices [ $ indexName ] = new Index ( $ indexName , $ index ) ; } return $ indices ; }
Gets the status of the indices.

@return Index[]
Gets the status of the indices .