File: /var/www/html/punjabcabs/vendor/hesto/multi-auth/src/stubs/Model/Model.stub
<?php
namespace App;
use App\Notifications\{{singularClass}}ResetPassword;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class {{singularClass}} extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name', 'email', 'password',
];
/**
* The attributes that should be hidden for arrays.
*
* @var array
*/
protected $hidden = [
'password', 'remember_token',
];
/**
* Send the password reset notification.
*
* @param string $token
* @return void
*/
public function sendPasswordResetNotification($token)
{
$this->notify(new {{singularClass}}ResetPassword($token));
}
}