Issues (77)

src/Registry/EventRegistry.php (1 issue)

1
<?php
2
3
declare(strict_types=1);
4
5
namespace Gember\EventSourcing\Registry;
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
The doc comment class-string at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string.
Loading history...
16
     */
17
    public function retrieve(string $eventName): string;
18
}
19