Exemplo n.º 1
0
 /**
  * @return \phpcouch\record\Database
  */
 public function retrieveInfo()
 {
     // TODO: catch exceptions
     $database = new \phpcouch\record\Database($this);
     $database->hydrate($this->sendRequest(new HttpRequest($this->buildUrl(self::URL_PATTERN_INFO))));
     return $database;
 }