-
-
Notifications
You must be signed in to change notification settings - Fork 384
Description
Hi, I have read the documentation, but it does not contain more information.
I have successfully sent notification to the browser but the notification is shown for every users. I've set {{ stream_notifications(['user1']) }}
where user1
is not a configured hub but a dynamic string to target a specific user like the user with the id 1. As the documentation does not explain how to use $this->notifier->send(new Notification('Flash sales has been started!', ['...]),...);
to send to dynamic string instead of specify the topics to send the notification in the MERCURE_DSN environment variable by specifying the topics query parameter I'm stuck.
Also it would be great to have more information about the notifier.yaml
config file wich include channel_policy
, why chatter_transports
refers to as just chat
, why use texter_transports
...