original_string: public function inherited($field)
      {
          list($inherited, $currentParams) = $this->getInheritedParams($field);
  
          $this->modifyHeader($field, $currentParams);
  
          return $inherited;
      }
code: public function inherited($field)
      {
          list($inherited, $currentParams) = $this->getInheritedParams($field);
  
          $this->modifyHeader($field, $currentParams);
  
          return $inherited;
      }
code_tokens: public function inherited ( $ field ) { list ( $ inherited , $ currentParams ) = $ this -> getInheritedParams ( $ field ) ; $ this -> modifyHeader ( $ field , $ currentParams ) ; return $ inherited ; }
docstring: Helper method to return an ancestor page to inherit from. The current
  page object is returned.
  
  @param string $field Name of the parent folder
  
  @return PageInterface
docstring_tokens: Helper method to return an ancestor page to inherit from . The current page object is returned .