Doing things the Symfony2 way with DI