Skip to content

Instantly share code, notes, and snippets.

@mostafa6765
Created October 7, 2018 20:05
Show Gist options
  • Save mostafa6765/20d6ba5015f867be4f04a83662069bba to your computer and use it in GitHub Desktop.
Save mostafa6765/20d6ba5015f867be4f04a83662069bba to your computer and use it in GitHub Desktop.
<?php
// 5.4, 5.5 , 5.6
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class Admin 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',
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment