<?php
namespace App\Events\Payment;
use App\Core\Payment\Entities\Payment;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class PaymentConfirmed
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public $payment;
public function __construct(Payment $payment)
{
$this->payment = $payment;
}
}