Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class UpdateTeamMasterBadgeSubscriber implements EventSubscriberInterface |
||
10 | { |
||
11 | private TeamMasterBadgeHandler $teamMasterBadgeHandler; |
||
12 | |||
13 | public function __construct(TeamMasterBadgeHandler $teamMasterBadgeHandler) |
||
14 | { |
||
15 | $this->teamMasterBadgeHandler = $teamMasterBadgeHandler; |
||
16 | } |
||
17 | |||
18 | public static function getSubscribedEvents(): array |
||
22 | ]; |
||
23 | } |
||
24 | |||
25 | |||
26 | /** |
||
27 | * @param GameEvent $event |
||
28 | */ |
||
29 | public function process(GameEvent $event): void |
||
32 | } |
||
33 | } |
||
34 |