supportting a range of symfony versions