option('this_id'); $lastId = $this->option('last_id'); $this->info("thisId: $thisId, lastId: $lastId"); if (!$thisId || !$lastId) { $this->error("require option --this_id=? and --last_id=?"); return Command::FAILURE; } SendLoginNotify::dispatch($thisId, $lastId); return Command::SUCCESS; } }