
PK 
<?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use App\Notifications\AdminResetPasswordNotification;
use Collective\Html\Eloquent\FormAccessible;
class Admin extends Authenticatable
{
use Notifiable;
protected $guard ='admin';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name','username','email','contactno','admintype','isauth','isverify','isrole','ismodule','salt','password','remember_token','isactive','isdelete','addedby','created_at','visitor',
];
/**
* 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)
{
//echo $token; exit;
$this->notify(new AdminResetPasswordNotification($token));
}
}


PK 99