for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Models;
use App\Models\User;
use Backpack\Base\app\Notifications\ResetPasswordNotification as ResetPasswordNotification;
use Tightenco\Parental\HasParentModel;
class BackpackUser extends User
{
use HasParentModel;
Tightenco\Parental\HasParentModel
$returnsChildModels
App\Models\BackpackUser
protected $table = 'users';
/**
* Send the password reset notification.
*
* @param string $token
* @return void
*/
public function sendPasswordResetNotification($token)
$this->notify(new ResetPasswordNotification($token));
}
* Get the e-mail address where password reset links are sent.
* @return string
public function getEmailForPasswordReset()
return $this->email;