public function getFunctions() { return array(new Twig_SimpleFunction('ez_route', array($this, 'getRouteReference'))); }