. */ namespace App\Events; use App\Application; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; class ApplicationApprovedEvent { use Dispatchable, InteractsWithSockets, SerializesModels; public $application; /** * Create a new event instance. * * @param Application $application */ public function __construct(Application $application) { $this->application = $application; } }