| 1 | <?php |
||
| 10 | class BroadcastNotification implements ShouldBroadcast, ShouldQueue |
||
| 11 | { |
||
| 12 | use SerializesModels; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var Notification |
||
| 16 | */ |
||
| 17 | public $notification; |
||
| 18 | |||
| 19 | public function __construct(Notification $notification) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Get the channels the event should broadcast on. |
||
| 26 | * @return array |
||
| 27 | */ |
||
| 28 | public function broadcastOn() |
||
| 32 | } |
||
| 33 |