Support Symfony up to 3.0