public function execute(InputInterface $input, OutputInterface $output) { $return = $this->getContainer()->get('partkeepr.setup.manufacturer_service')->importManufacturers(); $output->writeln(sprintf('%d manufacturers imported, %d existing manufacturers skipped', $return['imported'], $return['skipped'])); }