Support Symfony from 2.1 up to 3.0