aboutsummaryrefslogtreecommitdiffhomepage
path: root/api/Users/Models/User.php
diff options
context:
space:
mode:
authorMarvin Borner2018-10-30 18:41:29 +0100
committerMarvin Borner2018-10-30 18:41:29 +0100
commit39aa8530424310663c888f9e02224158961532e3 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /api/Users/Models/User.php
parentbd568608bcda0729044e823aedfa799e10692e14 (diff)
PHP is crap
Diffstat (limited to 'api/Users/Models/User.php')
-rw-r--r--api/Users/Models/User.php35
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');
- }
-}