Support symfony 2.3