deprecated in symfony 2.2
updated documentation
Merge pull request #17 from aur1mas/master