support classes for Silex framework