mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 13:38:20 +01:00
Let notification to the users be queue-able
This commit is contained in:
parent
47000c999b
commit
3788d43906
@ -13,6 +13,7 @@ namespace CachetHQ\Cachet\Notifications\Schedule;
|
|||||||
|
|
||||||
use CachetHQ\Cachet\Models\Schedule;
|
use CachetHQ\Cachet\Models\Schedule;
|
||||||
use Illuminate\Bus\Queueable;
|
use Illuminate\Bus\Queueable;
|
||||||
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||||
use Illuminate\Notifications\Messages\MailMessage;
|
use Illuminate\Notifications\Messages\MailMessage;
|
||||||
use Illuminate\Notifications\Messages\NexmoMessage;
|
use Illuminate\Notifications\Messages\NexmoMessage;
|
||||||
use Illuminate\Notifications\Messages\SlackMessage;
|
use Illuminate\Notifications\Messages\SlackMessage;
|
||||||
@ -24,7 +25,7 @@ use McCool\LaravelAutoPresenter\Facades\AutoPresenter;
|
|||||||
*
|
*
|
||||||
* @author James Brooks <james@alt-three.com>
|
* @author James Brooks <james@alt-three.com>
|
||||||
*/
|
*/
|
||||||
class NewScheduleNotification extends Notification
|
class NewScheduleNotification extends Notification implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Queueable;
|
use Queueable;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user