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

Symfony 2.4 compatibility added