original_string: public function getByAncestor(AncestorCriteriaInterface $ancestor)
      {
          $this->model = $ancestor->apply($this->model, $this);
          $results = $this->model->get();
          $this->resetModel();
  
          return $this->parserResult($results);
      }
code: public function getByAncestor(AncestorCriteriaInterface $ancestor)
      {
          $this->model = $ancestor->apply($this->model, $this);
          $results = $this->model->get();
          $this->resetModel();
  
          return $this->parserResult($results);
      }
code_tokens: public function getByAncestor ( AncestorCriteriaInterface $ ancestor ) { $ this -> model = $ ancestor -> apply ( $ this -> model , $ this ) ; $ results = $ this -> model -> get ( ) ; $ this -> resetModel ( ) ; return $ this -> parserResult ( $ results ) ; }
docstring: Find data by Ancestor
  
  @param AncestorCriteriaInterface $ancestor
  
  @return mixed
docstring_tokens: Find data by Ancestor