File manager - Edit - /home/linknsbh/cecil-hotel.net/vendor/botble/platform/acl/src/Notifications/ResetPasswordNotification.php
Back
<?php namespace Botble\ACL\Notifications; use Botble\Base\Facades\EmailHandler; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; use Illuminate\Support\HtmlString; class ResetPasswordNotification extends Notification { public string $token; public function __construct(string $token) { $this->token = $token; } public function via($notifiable) { return ['mail']; } public function toMail($notifiable) { EmailHandler::setModule('acl') ->setVariableValue('reset_link', route('access.password.reset', ['token' => $this->token])); $template = 'password-reminder'; $content = EmailHandler::prepareData(EmailHandler::getTemplateContent($template, 'core')); return (new MailMessage()) ->view(['html' => new HtmlString($content)]) ->subject(EmailHandler::getTemplateSubject($template)); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.81 |
proxy
|
phpinfo
|
Settings