| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class NotificationSubscriber implements EventSubscriberInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var NotificationManagerInterface |
||
| 14 | */ |
||
| 15 | private $manager; |
||
| 16 | |||
| 17 | public static function getSubscribedEvents() |
||
| 21 | ]; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function __construct(NotificationManagerInterface $manager) |
||
| 27 | } |
||
| 28 | |||
| 29 | public function createNotification(NotificationEvent $event): void |
||
| 34 |