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

        return $value['version'];
    }
public function version()
    {
        $json = (string) $this->client->request('GET', '/')->getBody();
        $value = JSONEncoder::decode($json);

        return $value['version'];
    }
public function version ( ) { $ json = ( string ) $ this -> client -> request ( 'GET' , '/' ) -> getBody ( ) ; $ value = JSONEncoder :: decode ( $ json ) ; return $ value [ 'version' ] ; }
Get the couchdb version.

@return string
Get the couchdb version .