Changes for Symfony v2.3
Working Symfony 2.3 version