CanResetPassword.php
TLDR
This file is an interface in the Laravel framework that defines methods for resetting passwords.
Methods
getEmailForPasswordReset()
This method returns the email address where password reset links are sent.
sendPasswordResetNotification($token)
This method sends a password reset notification. It takes a token as an argument.
<?php
namespace Illuminate\Contracts\Auth;
interface CanResetPassword
{
/**
* Get the e-mail address where password reset links are sent.
*
* @return string
*/
public function getEmailForPasswordReset();
/**
* Send the password reset notification.
*
* @param string $token
* @return void
*/
public function sendPasswordResetNotification($token);
}