moved here twig extension from mainBundle