Файловый менеджер - Редактировать - /home/clickysoft/public_html/jm5-api.clickysoft.net/app/Notifications/VerifyEmail.php
Назад
<?php namespace App\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; class VerifyEmail extends Notification // implements ShouldQueue { // use Queueable; protected $token; /** * Create a new notification instance. * * @return void */ public function __construct($token) { $this->token = $token; } /** * Get the notification's delivery channels. * * @param mixed $notifiable * @return array */ public function via(mixed $notifiable): array { return ['mail']; } /** * Get the mail representation of the notification. * * @param mixed $notifiable * @return MailMessage */ public function toMail(mixed $notifiable): MailMessage { return (new MailMessage) ->subject('Verify Email Address') ->line('Please click the button below to verify your email address.') ->action('Verify Email', url(config('app.react_app_url').'?is_token=true&token='.$this->token)) ->line('If you did not create an account, no further action is required.'); } /** * Get the array representation of the notification. * * @param mixed $notifiable * @return array */ public function toArray(mixed $notifiable): array { return [ // ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка