compatibility symfony 2.6