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