GemberPHP /
event-sourcing
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace Gember\EventSourcing\Registry\Event; |
||
| 6 | |||
| 7 | /** |
||
| 8 | * Retrieve domain event (FQCN) based on normalized event name. |
||
| 9 | */ |
||
| 10 | interface EventRegistry |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @throws EventNotRegisteredException |
||
| 14 | * |
||
| 15 | * @return class-string |
||
|
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||
| 16 | */ |
||
| 17 | public function retrieve(string $eventName): string; |
||
| 18 | } |
||
| 19 |