Fix SF 2.2.* compatibility
Merge pull request #11 from Soullivaneuh/master

Fix Symfony 2.2.* compatibility