%PDF- %PDF-
Direktori : /var/www/html/geotechnics/api/app/Notifications/ |
Current File : /var/www/html/geotechnics/api/app/Notifications/AccountEnabledNotification.php |
<?php namespace App\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; class AccountEnabledNotification extends Notification implements ShouldQueue { use Queueable; /** * Create a new notification instance. * * @return void */ public function __construct() { // } /** * Get the notification's delivery channels. * * @return array */ public function via() { return ['mail']; } /** * Get the mail representation of the notification. * * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail() { return (new MailMessage)->from('greengeotechnics2019@gmail.com', 'Green geotechnics') ->subject('Account enabled') ->greeting(' ') ->line('Your account was enabled, you can login and start using your account by clicking on the button below.') ->action('Login', env('DASHBOARD_URL') . 'login') ->salutation(' '); } /** * Get the array representation of the notification. * * @return array */ public function toArray() { return [// ]; } }