File manager - Edit - /var/www/payraty/inventory_main/app/Notifications/UserCreateNotification.php
Back
<?php namespace App\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; class UserCreateNotification extends Notification { use Queueable; /** * Create a new notification instance. * * @return void */ protected $content; public function __construct($content) { $this->content = $content; } /** * 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) ->subject($this->content['subject']) ->greeting($this->content['greeting']) ->line($this->content['content2']) ->line($this->content['content_bn']) ->action($this->content['reset_button_name'], $this->content['reset_url']) ->line($this->content['support_content']) ->line($this->content['support_content_bn']); } /** * Get the array representation of the notification. * * @param mixed $notifiable * @return array */ public function toArray($notifiable) { return [ // ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings