Refactored cbv controller resolver with a silex specific resolver