jobId, "Test", "Test des notifications")); AllNotification::send(new SimpleNotification($this->jobId, "Test", "Test des notifications d'erreur", true)); return $this->makeSimpleJobRun(true, "Envoi de notification réussi", "Datboi a réussi à envoyer des notifications"); } catch (\Throwable $e) { return $this->makeSimpleJobRun(false, "Envoi de notification échoué", "Datboi n'a pas réussi à envoyer des notifications :\n" . $e->getMessage()); } } }