original_string: public function locate($name, $dir = null, $first = true)
      {
          if ('@' === $name[0]) {
              return $this->themeLocator->locateTemplate($name);
          }
          
          return parent::locate($name, $dir, $first);
      }
code: public function locate($name, $dir = null, $first = true)
      {
          if ('@' === $name[0]) {
              return $this->themeLocator->locateTemplate($name);
          }
          
          return parent::locate($name, $dir, $first);
      }
code_tokens: public function locate ( $ name , $ dir = null , $ first = true ) { if ( '@' === $ name [ 0 ] ) { return $ this -> themeLocator -> locateTemplate ( $ name ) ; } return parent :: locate ( $ name , $ dir , $ first ) ; }
docstring: Returns a full path for a given template
  
  @param mixed       $name
  @param string|null $dir
  @param bool        $first
  
  @return array|string
docstring_tokens: Returns a full path for a given template