laravel['queue.failer']->forget($this->argument('id'))) { $this->info('Failed job deleted successfully!'); } else { $this->error('No failed job matches the given ID.'); } } /** * Get the console command arguments. * * @return array */ protected function getArguments() { return [ ['id', InputArgument::REQUIRED, 'The ID of the failed job'], ]; } }