Added Symfony2.2 support