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