16 lines
375 B
PHP
16 lines
375 B
PHP
<?php
|
|||
|
|
|
||
|
|
namespace Modules\Core\Payment\Events;
|
||
|
|
|
||
|
|
class PaymentMethodDeleted
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* @param array<string, mixed> $method Snapshot of the deleted row —
|
||
|
|
* already gone from the database by dispatch time, so this can't be
|
||
|
|
* a fresh PaymentMethod model instance.
|
||
|
|
*/
|
||
|
|
public function __construct(
|
||
|
|
public readonly array $method,
|
||
|
|
) {}
|
||
|
|
}
|