<?php namespace App\Events; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; use App\Models\Echomail as EchomailModel; class Echomail { use Dispatchable, SerializesModels; /** * Create a new event instance. */ public function __construct(public EchomailModel $eo) { // } }