ok

Mini Shell

Direktori : /home2/selectio/public_html/fms-worksuite/app/Observers/
Upload File :
Current File : /home2/selectio/public_html/fms-worksuite/app/Observers/UserchatFileObserver.php

<?php

namespace App\Observers;

use App\Models\UserchatFile;

class UserchatFileObserver
{

    public function creating(UserchatFile $model)
    {
        $model->company_id = $model->chat->company_id;
    }

}

Zerion Mini Shell 1.0