public function shouldSendNotification($notification) { $callable = config('laravel-failed-job-monitor.notificationFilter'); if (!is_callable($callable)) { return true; } return $callable($notification); }