fix support for Symfony 2.3
Merge pull request #30 from sstok/patch-1

fix support for Symfony 2.3