The bundle provides a public Web Push service that you can inject this service into your application components.
In the following example, let's imagine that a notification is dispatched using the Symfony Messanger component and catched by an event handler. This handler will fetch all subscriptions and send the notification.
The SubscriptionRepository class is totally fictive