original_string: public function root()
      {
          /** @var UniformResourceLocator $locator */
          $locator = $this->grav['locator'];
  
          return $this->instances[rtrim($locator->findResource('page://'), DS)];
      }
code: public function root()
      {
          /** @var UniformResourceLocator $locator */
          $locator = $this->grav['locator'];
  
          return $this->instances[rtrim($locator->findResource('page://'), DS)];
      }
code_tokens: public function root ( ) { /** @var UniformResourceLocator $locator */ $ locator = $ this -> grav [ 'locator' ] ; return $ this -> instances [ rtrim ( $ locator -> findResource ( 'page://' ) , DS ) ] ; }
docstring: Get root page.
  
  @return PageInterface
docstring_tokens: Get root page .