22 lines
441 B
PHP
22 lines
441 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace App\Event;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Domain event published on `app://event/todo-completed` by
|
||
|
|
* TodoCompletedSubscriber.
|
||
|
|
*
|
||
|
|
* Auto-generated stub — replace the `payload` field with typed
|
||
|
|
* properties matching the event you actually fire.
|
||
|
|
*/
|
||
|
|
final readonly class TodoCompletedEvent
|
||
|
|
{
|
||
|
|
public function __construct(
|
||
|
|
/** @var array<string, mixed> */
|
||
|
|
public array $payload = [],
|
||
|
|
) {
|
||
|
|
}
|
||
|
|
}
|