original_string: public function execute()
      {
          if ($this->counting) {
              return $this->executeCount();
          }
  
          if ($this->single) {
              return $this->executeSingle($this->entity_class);
          }
  
          return $this->executeCollection($this->entity_class);
      }
code: public function execute()
      {
          if ($this->counting) {
              return $this->executeCount();
          }
  
          if ($this->single) {
              return $this->executeSingle($this->entity_class);
          }
  
          return $this->executeCollection($this->entity_class);
      }
code_tokens: public function execute ( ) { if ( $ this -> counting ) { return $ this -> executeCount ( ) ; } if ( $ this -> single ) { return $ this -> executeSingle ( $ this -> entity_class ) ; } return $ this -> executeCollection ( $ this -> entity_class ) ; }
docstring: Execute the query and return the result.
  
  @return mixed An EntityCollection, Entity or integer.
docstring_tokens: Execute the query and return the result .