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