R
R
Raccoon2020-06-26 14:21:42
Laravel
Raccoon, 2020-06-26 14:21:42

How in Laravel (in 5.7) to send a Notification explicitly specifying through which channels to send at the time of sending?

I have three channels for sending database, sms, and mail. And in certain cases I need to specify only database and sms.
Is this possible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daria Motorina, 2020-06-26
@antonov22

The documentation describes the method via , for sure it can be adapted to your needs, well, analyze the $notifiable object

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question