src/Aqarmap/Bundle/NotificationBundle/EventListener/NotificationSubscriber.php line 25
<?phpnamespace Aqarmap\Bundle\NotificationBundle\EventListener;use Aqarmap\Bundle\NotificationBundle\Events\NotificationSent;use Symfony\Component\EventDispatcher\EventSubscriberInterface;class NotificationSubscriber implements EventSubscriberInterface{/*** Returns an array of event names this subscriber wants to listen to.*/public static function getSubScribedEvents(): array{return ['notification.sent' => 'notificationSent',];}/*** When notification sent.*/public function notificationSent(NotificationSent $notification): void{// you may hook here}}