1use Joli\JoliNotif\Notification;
2
3if ($notifier) {
4 $notification =
5 (new Notification())
6 ->setBody('The notification body')
7 ->setTitle('The notification title')
8 ->setIcon(__DIR__.'/Resources/icons/success.png');
9 ;
10
11 $notifier->send($notification);
12}
13