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