ok

Mini Shell

Direktori : /home2/selectio/www/fms-worksuite/app/Observers/
Upload File :
Current File : //home2/selectio/www/fms-worksuite/app/Observers/TicketEmailSettingObserver.php

<?php

namespace App\Observers;

use App\Events\TicketEvent;
use App\Events\TicketRequesterEvent;
use App\Models\Notification;
use App\Models\Ticket;
use App\Models\TicketEmailSetting;
use App\Models\UniversalSearch;

class TicketEmailSettingObserver
{

    public function creating(TicketEmailSetting $model)
    {
        if (company()) {
            $model->company_id = company()->id;
        }
    }

}

Zerion Mini Shell 1.0