%PDF- %PDF-
Direktori : /home/forge/api-takeaseat.eco-n-tech.co.uk/app/Notifications/ |
Current File : //home/forge/api-takeaseat.eco-n-tech.co.uk/app/Notifications/TherapistVerified.php |
<?php namespace App\Notifications; use App\Models\Therapist; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; class TherapistVerified extends Notification implements ShouldQueue { use Queueable; /** * @var Therapist */ protected $therapist; /** * Create a new notification instance. * * @return void */ public function __construct(Therapist $therapist) { $this->therapist = $therapist; } /** * Get the notification's delivery channels. * * @param mixed $notifiable * @return array */ public function via($notifiable) { return ['mail']; } /** * Get the mail representation of the notification. * * @param mixed $notifiable * @return \Illuminate\Notifications\Messages\MailMessage */ public function toMail($notifiable) { return (new MailMessage) ->greeting('Hi '.$this->therapist->user->first_name) ->line('We have reviewed your documents and you are now take a seat verified and ready to start receiving client referrals. We are excited to have you as part of the community and look forward to bringing your first booking. Remember to keep your availability up to date so we can bring you clients.') ->line('Thanks for being part of Take a Seat'); } /** * Get the array representation of the notification. * * @param mixed $notifiable * @return array */ public function toArray($notifiable) { return [ // ]; } }