Add ability to set provided settings

This commit is contained in:
Marcus Moore 2023-04-06 17:48:23 -07:00
parent 8ac4d3aeea
commit 52c733b31d
No known key found for this signature in database

View file

@ -23,6 +23,11 @@ class Settings
$this->update(['full_multiple_companies_support' => 1]);
}
public function set(array $attributes)
{
$this->update($attributes);
}
private function update(array $attributes)
{
Setting::unguarded(fn() => $this->setting->update($attributes));