Make use of some settings #136

This commit is contained in:
vollstock committed 2025-12-05 09:52:11 +01:00
1 parent b7a880d66a
commit 8315383958
5 files changed
+26 -17

No files matched your search

+4
View File
@@ -23,4 +23,8 @@ public static function allKeyValue(): array
{
return self::query()->pluck('value', 'key')->toArray();
}
public static function get(string $key): string {
return Setting::where('key', $key)->value('value');
}
}