1 | <?php |
||
10 | final class EventName |
||
11 | { |
||
12 | /** |
||
13 | * @var EventInterface |
||
14 | */ |
||
15 | private $event; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | private $name; |
||
21 | |||
22 | /** |
||
23 | * @param EventInterface $event |
||
24 | */ |
||
25 | public function __construct(EventInterface $event) |
||
29 | |||
30 | /** |
||
31 | * @return string |
||
32 | */ |
||
33 | public function __toString() |
||
41 | |||
42 | /** |
||
43 | * @return string |
||
44 | */ |
||
45 | private function parseName() |
||
61 | } |
||
62 |