This is the Silex TwigServiceProvider, adapted for use in Cilex