UserSendPasswordReset.php
433 Bytes
<?php
namespace App\Access\Model\User\Traits;
use App\Notifications\Frontend\Auth\UserNeedsPasswordReset;
/**
* Class UserSendPasswordReset.
*/
trait UserSendPasswordReset
{
/**
* Send the password reset notification.
*
* @param string $token
*
* @return void
*/
public function sendPasswordResetNotification($token)
{
$this->notify(new UserNeedsPasswordReset($token));
}
}