Symfony 2.4 compatibility
Merge pull request #231 from peterkokot/patch-1

Symfony 2.4 compatibility added