src/Tomahawk/Templating/Twig/Extension/UrlExtension.php
public function getFunctions()
    {
        return array(
            new \Twig_SimpleFunction('base_url', array($this, 'getBaseUrl')),
            new \Twig_SimpleFunction('current_url', array($this, 'getCurrentUrl')),
            new \Twig_SimpleFunction('asset_url', array($this, 'asset')),
            new \Twig_SimpleFunction('url_to', array($this, 'to')),
            new \Twig_SimpleFunction('secure_url_to', array($this, 'secureTo')),
            new \Twig_SimpleFunction('route', array($this, 'route')),
        );
    }
public function getFunctions()
    {
        return array(
            new \Twig_SimpleFunction('base_url', array($this, 'getBaseUrl')),
            new \Twig_SimpleFunction('current_url', array($this, 'getCurrentUrl')),
            new \Twig_SimpleFunction('asset_url', array($this, 'asset')),
            new \Twig_SimpleFunction('url_to', array($this, 'to')),
            new \Twig_SimpleFunction('secure_url_to', array($this, 'secureTo')),
            new \Twig_SimpleFunction('route', array($this, 'route')),
        );
    }
Returns a list of functions to add to the existing list.

@return array An array of functions