Overview

Namespaces

  • App
    • Console
      • Commands
    • Events
    • Exceptions
    • Http
      • Controllers
        • Auth
      • Middleware
      • Requests
    • Jobs
    • Providers

Classes

  • App\Console\Commands\Inspire
  • App\Console\Kernel
  • App\Events\Event
  • App\Exceptions\Handler
  • App\Http\Controllers\Auth\AuthController
  • App\Http\Controllers\Auth\PasswordController
  • App\Http\Controllers\Controller
  • App\Http\Controllers\LoginController
  • App\Http\Kernel
  • App\Http\Middleware\Authenticate
  • App\Http\Middleware\EncryptCookies
  • App\Http\Middleware\RedirectIfAuthenticated
  • App\Http\Middleware\VerifyCsrfToken
  • App\Http\Requests\Request
  • App\Jobs\Job
  • App\Providers\AppServiceProvider
  • App\Providers\AuthServiceProvider
  • App\Providers\EventServiceProvider
  • App\Providers\RouteServiceProvider
  • App\User
  • Overview
  • Namespace
  • Class
 1:  2:  3:  4:  5:  6:  7:  8:  9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 
<?php

namespace App;

use Illuminate\Auth\Authenticatable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Auth\Passwords\CanResetPassword;
use Illuminate\Foundation\Auth\Access\Authorizable;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;

class User extends Model implements AuthenticatableContract,
                                    AuthorizableContract,
                                    CanResetPasswordContract
{
    use Authenticatable, Authorizable, CanResetPassword;

    /**
     * The database table used by the model.
     *
     * @var string
     */
    protected $table = 'users';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['name', 'email', 'password'];

    /**
     * The attributes excluded from the model's JSON form.
     *
     * @var array
     */
    protected $hidden = ['password', 'remember_token'];
}
API documentation generated by ApiGen