20 lines
465 B
PHP
20 lines
465 B
PHP
<?php
|
|
|
|
namespace Modules\Core\Customer\Events;
|
|
|
|
use Illuminate\Contracts\Auth\Authenticatable;
|
|
use Modules\Core\Customer\Models\Customer;
|
|
|
|
class CustomerProfileUpdated
|
|
{
|
|
/**
|
|
* @param array<string, mixed> $old Snapshot of the changed
|
|
* attributes before the update.
|
|
*/
|
|
public function __construct(
|
|
public readonly Customer $customer,
|
|
public readonly array $old,
|
|
public readonly Authenticatable $causer,
|
|
) {}
|
|
}
|