Example #1
0
 public function notify(Notification $notification)
 {
     exec('notify-send "' . $notification->getMessage() . '"');
 }
Example #2
0
 public function notify(Notification $notification)
 {
     exec('osascript -e \'display notification "' . $notification->getMessage() . '"\'');
 }