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