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