Support symfony 2.2
Merge pull request #26 from wlzch/master

Support Symfony 2.2