1 | <?php namespace Anomaly\UsersModule\User\Notification; |
||
9 | class ActivateYourAccount extends Notification |
||
10 | { |
||
11 | /** |
||
12 | * Redirect here after activating. |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | public $redirect; |
||
17 | |||
18 | /** |
||
19 | * Create a new UserHasRegistered instance. |
||
20 | * |
||
21 | * @param $redirect |
||
22 | */ |
||
23 | public function __construct($redirect = '/') |
||
27 | |||
28 | /** |
||
29 | * Get the notification's delivery channels. |
||
30 | * |
||
31 | * @param UserInterface $notifiable |
||
32 | * @return array |
||
33 | */ |
||
34 | public function via(UserInterface $notifiable) |
||
38 | |||
39 | /** |
||
40 | * Return the mail message. |
||
41 | * |
||
42 | * @param UserInterface $notifiable |
||
43 | * @return MailMessage |
||
44 | */ |
||
45 | public function toMail(UserInterface $notifiable) |
||
56 | } |
||
57 |