Вход Регистрация
Файл: vendor/laravel/framework/src/Illuminate/Auth/Passwords/CanResetPassword.php
Строк: 29
<?php

namespace IlluminateAuthPasswords;

use 
IlluminateAuthNotificationsResetPassword as ResetPasswordNotification;

trait 
CanResetPassword
{
    
/**
     * Get the e-mail address where password reset links are sent.
     *
     * @return string
     */
    
public function getEmailForPasswordReset()
    {
        return 
$this->email;
    }

    
/**
     * Send the password reset notification.
     *
     * @param  string  $token
     * @return void
     */
    
public function sendPasswordResetNotification($token)
    {
        
$this->notify(new ResetPasswordNotification($token));
    }
}
Онлайн: 0
Реклама