You defined GoogleClientHelper as a service, so you should also access it as a service (cfr. http://symfony.com/doc/current/cookbook/console/console_command.html#getting-services-from-the-service-container). You should also inject the configuration parameters in the service definition instead of fetching them over and over again (see comment for services.yml).