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