original_string: public function findAll($limit = null, $startKey = null)
      {
          $path = "/{$this->name}/_all_docs?include_docs=true";
  
          if (null !== $limit) {
              $path .= '&limit='.(integer) $limit;
          }
          if (null !== $startKey) {
              $path .= '&startkey='.(string) $startKey;
          }
  
          $json = (string) $this->client->request('GET', $path)->getBody();
          $docs = JSONEncoder::decode($json);
  
          return $docs;
      }
code: public function findAll($limit = null, $startKey = null)
      {
          $path = "/{$this->name}/_all_docs?include_docs=true";
  
          if (null !== $limit) {
              $path .= '&limit='.(integer) $limit;
          }
          if (null !== $startKey) {
              $path .= '&startkey='.(string) $startKey;
          }
  
          $json = (string) $this->client->request('GET', $path)->getBody();
          $docs = JSONEncoder::decode($json);
  
          return $docs;
      }
code_tokens: public function findAll ( $ limit = null , $ startKey = null ) { $ path = "/{$this->name}/_all_docs?include_docs=true" ; if ( null !== $ limit ) { $ path .= '&limit=' . ( integer ) $ limit ; } if ( null !== $ startKey ) { $ path .= '&startkey=' . ( string ) $ startKey ; } $ json = ( string ) $ this -> client -> request ( 'GET' , $ path ) -> getBody ( ) ; $ docs = JSONEncoder :: decode ( $ json ) ; return $ docs ; }
docstring: Find all documents from the database.
  
  @param int|null    $limit
  @param string|null $startKey
  
  @return mixed
docstring_tokens: Find all documents from the database .