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