| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | class User extends SqlModel implements AuthorizableContract, AuthenticatableContract, Ownable |
||
| 29 | { |
||
| 30 | use Notifiable, |
||
| 31 | Authorizable, |
||
| 32 | Authenticatable, |
||
| 33 | Cacheable, |
||
| 34 | HasRoles, |
||
| 35 | ReceivesWebNotifications; |
||
| 36 | |||
| 37 | protected $guard_name = 'api'; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @var string |
||
| 41 | */ |
||
| 42 | protected $table = 'users'; |
||
| 43 | |||
| 44 | 2 | /** |
|
| 45 | * @var array |
||
| 46 | 2 | */ |
|
| 47 | protected $guarded = []; |
||
| 48 | |||
| 49 | 2 | /** |
|
| 50 | * @return mixed |
||
| 51 | 2 | */ |
|
| 52 | public function ownerId() |
||
| 53 | { |
||
| 54 | 2 | return $this->id; |
|
| 55 | } |
||
| 56 | 2 | ||
| 57 | public function ownedBy() |
||
| 60 | } |
||
| 61 | } |
||
| 62 |