| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | class User extends MongoModel implements AuthorizableContract, AuthenticatableContract, Ownable |
||
| 28 | { |
||
| 29 | use Notifiable, Authorizable, Authenticatable, Cacheable, Auth0Model; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | protected $collection = 'users'; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var array |
||
| 38 | */ |
||
| 39 | protected $guarded = []; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return mixed |
||
| 43 | */ |
||
| 44 | 2 | public function ownerId() |
|
| 45 | { |
||
| 46 | 2 | return $this->id; |
|
| 47 | } |
||
| 48 | |||
| 49 | 2 | public function ownedBy() |
|
| 52 | } |
||
| 53 | |||
| 54 | 2 | public function machines() |
|
| 57 | } |
||
| 58 | } |
||
| 59 |