GemberPHP /
event-sourcing
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace Gember\EventSourcing\EventStore; |
||
| 6 | |||
| 7 | use Stringable; |
||
| 8 | |||
| 9 | final readonly class StreamQuery |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param list<string|Stringable> $domainTags |
||
| 13 | * @param list<class-string> $eventClassNames |
||
| 14 | */ |
||
| 15 | 18 | public function __construct( |
|
| 16 | public array $domainTags, |
||
| 17 | public array $eventClassNames = [], |
||
| 18 | 18 | ) {} |
|
| 19 | } |
||
| 20 |