Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class Role extends Model implements RoleHasRelationsContract |
||
11 | { |
||
12 | use Slugable, RoleHasRelations; |
||
13 | |||
14 | /** |
||
15 | * The attributes that are mass assignable. |
||
16 | * |
||
17 | * @var array |
||
18 | */ |
||
19 | protected $fillable = ['name', 'slug', 'description', 'level']; |
||
20 | |||
21 | /** |
||
22 | * Create a new model instance. |
||
23 | * |
||
24 | * @param array $attributes |
||
25 | */ |
||
26 | public function __construct(array $attributes = []) |
||
35 |