| 1 | <?php |
||
| 11 | class UserUnsubscribed extends Notification implements ShouldQueue |
||
| 12 | { |
||
| 13 | use Queueable; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var \Neo\EarlyAccess\Subscriber |
||
| 17 | */ |
||
| 18 | public $subscriber; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Create a new notification instance. |
||
| 22 | * |
||
| 23 | * @param \Neo\EarlyAccess\Subscriber $subscriber |
||
| 24 | */ |
||
| 25 | public function __construct(Subscriber $subscriber) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Get the notification's delivery channels. |
||
| 32 | * |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | public function via() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Get the mail representation of the notification. |
||
| 42 | * |
||
| 43 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
| 44 | */ |
||
| 45 | public function toMail() |
||
| 51 | } |
||
| 52 |