Updated old 2.0 symfony code
Merge pull request #10 from WouterJ/patch-1

Updated old 2.0 symfony code