Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Auth\Passwords;
4
 
5
use Illuminate\Auth\Notifications\ResetPassword as ResetPasswordNotification;
6
 
7
trait CanResetPassword
8
{
9
    /**
10
     * Get the e-mail address where password reset links are sent.
11
     *
12
     * @return string
13
     */
14
    public function getEmailForPasswordReset()
15
    {
16
        return $this->email;
17
    }
18
 
19
    /**
20
     * Send the password reset notification.
21
     *
22
     * @param  string  $token
23
     * @return void
24
     */
25
    public function sendPasswordResetNotification($token)
26
    {
27
        $this->notify(new ResetPasswordNotification($token));
28
    }
29
}