Support symfony 2.2