src/Components/DocumentDBConnection.php
public function getCollection($id, array $options = [])
    {
        $this->setOptions($options);
        $coll = new Collection($this->client, $this->database);
        $coll->setHeaders($this->getHeaders());
        $rs = $coll->get($id);
        $this->checkResponse($rs);
        unset($rs['_curl_info']);

        return $rs;
    }
public function getCollection($id, array $options = [])
    {
        $this->setOptions($options);
        $coll = new Collection($this->client, $this->database);
        $coll->setHeaders($this->getHeaders());
        $rs = $coll->get($id);
        $this->checkResponse($rs);
        unset($rs['_curl_info']);

        return $rs;
    }
public function getCollection ( $ id , array $ options = [ ] ) { $ this -> setOptions ( $ options ) ; $ coll = new Collection ( $ this -> client , $ this -> database ) ; $ coll -> setHeaders ( $ this -> getHeaders ( ) ) ; $ rs = $ coll -> get ( $ id ) ; $ this -> checkResponse ( $ rs ) ; unset ( $ rs [ '_curl_info' ] ) ; return $ rs ; }
Retrieves a collection information.

@param string $id      Collection ID
@param array  $options Operation options

@return array
Retrieves a collection information .