public function getIndex($collection, $indexId)
    {
        $url      = UrlHelper::buildUrl(Urls::URL_INDEX, [$collection, $indexId]);
        $response = $this->getConnection()->get($url);

        return $response->getJson();
    }
public function getIndex($collection, $indexId)
    {
        $url      = UrlHelper::buildUrl(Urls::URL_INDEX, [$collection, $indexId]);
        $response = $this->getConnection()->get($url);

        return $response->getJson();
    }
public function getIndex ( $ collection , $ indexId ) { $ url = UrlHelper :: buildUrl ( Urls :: URL_INDEX , [ $ collection , $ indexId ] ) ; $ response = $ this -> getConnection ( ) -> get ( $ url ) ; return $ response -> getJson ( ) ; }
Get the information about an index in a collection

@param string $collection - the id of the collection
@param string $indexId    - the id of the index

@return array
@throws \ArangoDBClient\Exception
@throws \ArangoDBClient\ClientException
Get the information about an index in a collection