src/ElasticaProviderBundle/Provider/Registry.php
public function get($index = null, $type = null)
    {
        return array_filter(
            $this->entries,
            function($entry) use ($index, $type) {
                return $entry->match($index, $type);
            }
        );
    }
public function get($index = null, $type = null)
    {
        return array_filter(
            $this->entries,
            function($entry) use ($index, $type) {
                return $entry->match($index, $type);
            }
        );
    }
public function get ( $ index = null , $ type = null ) { return array_filter ( $ this -> entries , function ( $ entry ) use ( $ index , $ type ) { return $ entry -> match ( $ index , $ type ) ; } ) ; }
Get entries for index and type

@param string|null $index
@param string|null $type

@return array<ProviderEntry>
Get entries for index and type