Service/Theme/Locator/FileLocator.php
public function locate($name, $dir = null, $first = true)
    {
        if ('@' === $name[0]) {
            return $this->themeLocator->locateTemplate($name);
        }
        
        return parent::locate($name, $dir, $first);
    }
public function locate($name, $dir = null, $first = true)
    {
        if ('@' === $name[0]) {
            return $this->themeLocator->locateTemplate($name);
        }
        
        return parent::locate($name, $dir, $first);
    }
public function locate ( $ name , $ dir = null , $ first = true ) { if ( '@' === $ name [ 0 ] ) { return $ this -> themeLocator -> locateTemplate ( $ name ) ; } return parent :: locate ( $ name , $ dir , $ first ) ; }
Returns a full path for a given template

@param mixed       $name
@param string|null $dir
@param bool        $first

@return array|string
Returns a full path for a given template