add support of symfony 2.4