Make use of some settings #136

This commit is contained in:
2025-12-05 09:52:11 +01:00
parent b7a880d66a
commit 8315383958
5 changed files with 26 additions and 17 deletions
+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');
}
}