Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | final class EventId |
||
21 | { |
||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $identifier; |
||
26 | |||
27 | |||
28 | /** |
||
29 | * Creates a EventId |
||
30 | * |
||
31 | * @param string $identifier |
||
32 | */ |
||
33 | public function __construct(string $identifier = null) |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * Event identifier as a string |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | public function __toString() |
||
54 |