You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: resources/views/docs/desktop/1/the-basics/notifications.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Notification::title('Hello from NativePHP')
43
43
### Notification Reference
44
44
45
45
To keep track of different notifications, each notification gets a reference once created. You can manually set a reference using the `reference()` method.
46
-
By default, the current unix timestamp is used as the reference. Once the notification is shown, the reference is stored in the notification class.
46
+
By default, a unique id is used as the reference. Once the notification is shown, the reference is stored in the notification class.
47
47
48
48
```
49
49
$notification = Notification::title('Hello from NativePHP')->show();
@@ -64,7 +64,7 @@ Notification::title('Hello from NativePHP')
64
64
### Notification Reference
65
65
66
66
You can use the `reference()` method to set an event identifier and track which notification triggered a certain event.
67
-
This reference will be sent along with any event triggered by the notification. By default, the current unix timestamp is used as the reference.
67
+
This reference will be sent along with any event triggered by the notification. By default, a unique id is used as the reference.
0 commit comments