setName('sync-techletter'); } /** * @see Command */ protected function execute(InputInterface $input, OutputInterface $output) { $container = $this->getContainer(); $container ->get('app.techletter_mailchimp_synchronizer') ->setLogger($container->get('logger')) ->synchronize() ; } }