We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class Role extends Model |
||
| 9 | { |
||
| 10 | use CrudTrait; |
||
|
|
|||
| 11 | |||
| 12 | protected $table = 'roles'; |
||
| 13 | protected $fillable = ['name']; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Get the user for the account details. |
||
| 17 | */ |
||
| 18 | public function user() |
||
| 21 | } |
||
| 22 | |||
| 23 | public function getRoleNameAttribute() |
||
| 26 | } |
||
| 27 | |||
| 28 | public function identifiableAttribute() |
||
| 33 |