public function listDatabases()
    {
        $json = (string) $this->client->request('GET', '/_all_dbs')->getBody();
        $databases = JSONEncoder::decode($json);

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

        return $databases;
    }
public function listDatabases ( ) { $ json = ( string ) $ this -> client -> request ( 'GET' , '/_all_dbs' ) -> getBody ( ) ; $ databases = JSONEncoder :: decode ( $ json ) ; return $ databases ; }
Show all databases.

@return array
Show all databases .