Added symfony 2.2 support