Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | final class Event implements Trackable |
||
24 | { |
||
25 | use TrackableMethods; |
||
26 | |||
27 | /** |
||
28 | * Creates a Event |
||
29 | * |
||
30 | * @param SlickEvent $event |
||
31 | * @param iterable|null $context |
||
32 | */ |
||
33 | public function __construct(SlickEvent $event, ?iterable $context = []) |
||
44 | } |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * Parse event name from its class name |
||
49 | * |
||
50 | * @param SlickEvent $event |
||
51 | * @return string |
||
52 | */ |
||
53 | private function parseEventName(SlickEvent $event): string |
||
60 |