original_string: public function createQuery(array $criteria = array())
      {
          $class = $this->documentClass.'Query';
          $query = new $class($this);
          $query->criteria($criteria);
  
          return $query;
      }
code: public function createQuery(array $criteria = array())
      {
          $class = $this->documentClass.'Query';
          $query = new $class($this);
          $query->criteria($criteria);
  
          return $query;
      }
code_tokens: public function createQuery ( array $ criteria = array ( ) ) { $ class = $ this -> documentClass . 'Query' ; $ query = new $ class ( $ this ) ; $ query -> criteria ( $ criteria ) ; return $ query ; }
docstring: Create a query for the repository document class.
  
  @param array $criteria The criteria for the query (optional).
  
  @return Query The query.
  
  @api
docstring_tokens: Create a query for the repository document class .