Files
Epicnabbo-Catalogus-Updated…/cms update/app/Models/Miscellaneous/WebsiteSetting.php
T
Remco b67e0ec2b9 🆙 Add fixed cms 🆙
2026-02-02 19:30:21 +01:00

20 lines
406 B
PHP

<?php
namespace App\Models\Miscellaneous;
use App\Services\SettingsService;
use Illuminate\Database\Eloquent\Model;
class WebsiteSetting extends Model
{
protected $guarded = [];
public $timestamps = false;
protected static function booted(): void
{
static::saved(fn () => SettingsService::clearCache());
static::deleted(fn () => SettingsService::clearCache());
}
}