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