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