GemberPHP /
event-sourcing
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace Gember\EventSourcing\UseCase\Attribute; |
||
| 6 | |||
| 7 | use Attribute; |
||
| 8 | |||
| 9 | #[Attribute(Attribute::TARGET_CLASS)] |
||
| 10 | final readonly class DomainEvent |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 11 | { |
||
| 12 | 21 | public function __construct( |
|
| 13 | public string $name, |
||
| 14 | 21 | ) {} |
|
| 15 | } |
||
| 16 |