On Demand Notifications (12/14) - Laravel 5.5 New Features

توسعه دهندگان وب
توسعه دهندگان وب
92 بار بازدید - 7 سال پیش - In previous versions of Laravel,
In previous versions of Laravel, we always had to instantiate a user object (or any other model that uses the Notifiable trait) in order to use the Notifiable methods. Now in Laravel 5.5 we can actually send notifications, using the Notifiable API, without istantiating the new user object that we wish to send the notification to. This allows us to create notifications "on-demand", just passing in contact information statically and having the notification sent there. Most of the time I imagine you will wa
7 سال پیش در تاریخ 1396/10/08 منتشر شده است.
92 بـار بازدید شده
... بیشتر