1 | <?php namespace Anomaly\UsersModule\User\Notification; |
||
15 | class ActivateYourAccount extends Notification |
||
16 | { |
||
17 | |||
18 | use Queueable; |
||
19 | |||
20 | /** |
||
21 | * Redirect here after activating. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | public $redirect; |
||
26 | |||
27 | /** |
||
28 | * Create a new UserHasRegistered instance. |
||
29 | * |
||
30 | * @param $redirect |
||
31 | */ |
||
32 | public function __construct($redirect = '/') |
||
36 | |||
37 | /** |
||
38 | * Get the notification's delivery channels. |
||
39 | * |
||
40 | * @param UserInterface $notifiable |
||
41 | * @return array |
||
42 | */ |
||
43 | public function via(UserInterface $notifiable) |
||
47 | |||
48 | /** |
||
49 | * Return the mail message. |
||
50 | * |
||
51 | * @param UserInterface $notifiable |
||
52 | * @return MailMessage |
||
53 | */ |
||
54 | public function toMail(UserInterface $notifiable) |
||
68 | } |
||
69 |