Symfony 2.0 compat
Merge pull request #428 from kriswallsmith/0.2

fixed Symfony 2.0 compat