preserve compatibility with older Symfony versions