[fix] Symfony2 : requires fix to work with symfony2