jobList = $jobList; } public function getName(): string { return 'Send an admin notification if monthly report is disabled'; } public function run(IOutput $output): void { if (!$this->jobList->has(MonthlyReport::class, null)) { $this->jobList->add(AdminNotification::class); } } }