replace request class with symfony request