ArtificerUser
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 0
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 20
1
<?php namespace Mascame\Artificer\Auth;
2
3
use Illuminate\Auth\Authenticatable;
4
use Illuminate\Database\Eloquent\Model;
5
use Illuminate\Auth\Passwords\CanResetPassword;
6
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
7
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
8
9
class ArtificerUser extends Model implements AuthenticatableContract, CanResetPasswordContract {
0 ignored issues
show
Bug introduced by
There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: getAuthIdentifier, getAuthIdentifierName, getAuthPassword, getEmailForPasswordReset, getRememberToken, getRememberTokenName, setRememberToken
Loading history...
10
11
	use Authenticatable, CanResetPassword;
12
13
14
	/**
15
	 * The attributes that are mass assignable.
16
	 *
17
	 * @var array
18
	 */
19
	protected $fillable = ['name', 'email', 'password'];
20
21
	/**
22
	 * The attributes excluded from the model's JSON form.
23
	 *
24
	 * @var array
25
	 */
26
	protected $hidden = ['password', 'remember_token'];
27
28
}
29