Added Symfony 2.5 support