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')),
        );
    }