<?php namespace Bixo\Account\Events; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; use Bixo\Account\Models\Bank; class BankAction { use Dispatchable, InteractsWithSockets, SerializesModels; /** * Create a new event instance. */ public function __construct( public string $action, public Bank $bank, public array $request = [], public string $when = 'after' ) {} }