setName('sign:stock') ->setDescription('the sign stock command'); } /** * Execute the console command. * * @param Input $input * @param Output $output * @return void */ protected function execute(Input $input, Output $output) { $market_list = [3, 4, 5, 6, 7, 9, 12, 14, 15, 16, 17, 18]; foreach ($market_list as $market_type) { (new IPOService())->signStockIPO($market_type); } } }