/** * @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; }