public function getFunctions() { return [new Twig_SimpleFunction('locate_template', [$this, 'locateTemplate'])]; }