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