public function getShortcut($name)
    {
        $key = strtolower($name);

        return (array_key_exists($key, $this->shortcuts)) ? $this->shortcuts[$key] : $name;
    }
public function getShortcut($name)
    {
        $key = strtolower($name);

        return (array_key_exists($key, $this->shortcuts)) ? $this->shortcuts[$key] : $name;
    }
public function getShortcut ( $ name ) { $ key = strtolower ( $ name ) ; return ( array_key_exists ( $ key , $ this -> shortcuts ) ) ? $ this -> shortcuts [ $ key ] : $ name ; }
Get the alias the shortcut points to.

@param string $name Twig function name.

@return string Either the alias or the name passed in if not found.
Get the alias the shortcut points to .