ok
Direktori : /home2/selectio/public_html/fms-worksuite/app/Observers/ |
Current File : /home2/selectio/public_html/fms-worksuite/app/Observers/ThemeSettingObserver.php |
<?php namespace App\Observers; use App\Models\ThemeSetting; class ThemeSettingObserver { public function creating(ThemeSetting $model) { if (company()) { $model->company_id = company()->id; } } }