The Symfony Dependency Injection Container should not be passed as an argument.