Agregando funcion a twig