*/ public static function disabledScenarios(): array { return (array) (self::emailSettings()['auto_disabled'] ?? []); } private static function emailSettings(): array { $value = Setting::where('key', 'email_settings')->value('value'); return (array) (json_decode($value ?? '', true) ?? []); } }