src/CouchDB/Database.php
public function getInfo()
    {
        $json = (string) $this->client->request('GET', "/{$this->name}/")->getBody();

        return JSONEncoder::decode($json);
    }
public function getInfo()
    {
        $json = (string) $this->client->request('GET', "/{$this->name}/")->getBody();

        return JSONEncoder::decode($json);
    }
public function getInfo ( ) { $ json = ( string ) $ this -> client -> request ( 'GET' , "/{$this->name}/" ) -> getBody ( ) ; return JSONEncoder :: decode ( $ json ) ; }
Return the database informations.

@return array
Return the database informations .