Total Complexity | 2 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class UserRolePermissions extends Model |
||
8 | { |
||
9 | protected $fillable = ['perm_type_id', 'role_id', 'allow']; |
||
10 | protected $hidden = ['created_at', 'updated_at', 'id', 'UserRolePermissionTypes']; |
||
11 | protected $appends = ['description']; |
||
12 | |||
13 | 10 | public function getDescriptionAttribute() |
|
16 | } |
||
17 | |||
18 | 134 | public function UserRolePermissionTypes() |
|
23 |