PHP Classes

File: app/User.php

Recommend this page to a friend!
  Classes of Renato Lucena   PHP Pokemon Script   app/User.php   Download  
File: app/User.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Pokemon Script
Provides an API to manage a database of Pokemons
Author: By
Last change:
Date: 6 years ago
Size: 511 bytes
 

Contents

Class file image Download
<?php

namespace App;

use
Illuminate\Notifications\Notifiable;
use
Illuminate\Foundation\Auth\User as Authenticatable;

class
User 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',
    ];
}