Skip to content

global notify() helper function added:#2

Merged
techmahedy merged 1 commit intodoppar:masterfrom
techmahedy:techmahedy-1.x
Dec 6, 2025
Merged

global notify() helper function added:#2
techmahedy merged 1 commit intodoppar:masterfrom
techmahedy:techmahedy-1.x

Conversation

@techmahedy
Copy link
Copy Markdown
Member

Now we can also send a notification using a helper method in this way

notify($user)->send(new OrderShippedNotification($order, 'TRK123456789'));

Without a helper:

$user->notify(new OrderShippedNotification($order, 'TRK123456789'))

@techmahedy techmahedy merged commit 0d85ee0 into doppar:master Dec 6, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant