18 lines
373 B
PHP
18 lines
373 B
PHP
<?php
|
|||
|
|
|
||
|
|
namespace Modules\Core\Payment\Events;
|
||
|
|
|
||
|
|
use Modules\Core\Payment\Models\PaymentMethod;
|
||
|
|
|
||
|
|
class PaymentMethodUpdated
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* @param array<string, mixed> $old Snapshot of the changed attributes
|
||
|
|
* before the update.
|
||
|
|
*/
|
||
|
|
public function __construct(
|
||
|
|
public readonly PaymentMethod $method,
|
||
|
|
public readonly array $old,
|
||
|
|
) {}
|
||
|
|
}
|