diff options
author | Marvin Borner | 2018-10-30 18:41:29 +0100 |
---|---|---|
committer | Marvin Borner | 2018-10-30 18:41:29 +0100 |
commit | 39aa8530424310663c888f9e02224158961532e3 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /api/Users/Models/User.php | |
parent | bd568608bcda0729044e823aedfa799e10692e14 (diff) |
PHP is crap
Diffstat (limited to 'api/Users/Models/User.php')
-rw-r--r-- | api/Users/Models/User.php | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/api/Users/Models/User.php b/api/Users/Models/User.php deleted file mode 100644 index e568608..0000000 --- a/api/Users/Models/User.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php - -namespace Api\Users\Models; - -use Laravel\Passport\HasApiTokens; -use Illuminate\Notifications\Notifiable; -use Illuminate\Foundation\Auth\User as Authenticatable; - -class User extends Authenticatable -{ - use HasApiTokens, 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', - ]; - - public function posts() - { - return $this->hasMany('Api\Posts\Models\Post'); - } -} |