silex service provider for doctrine extension functions