1 | <?php |
||
8 | class Role extends Model implements RoleHasRelationsContract |
||
9 | { |
||
10 | use Slugable, RoleHasRelations; |
||
11 | |||
12 | /** |
||
13 | * The attributes that are mass assignable. |
||
14 | * |
||
15 | * @var array |
||
16 | */ |
||
17 | protected $fillable = [ |
||
18 | 'name', |
||
19 | 'slug', |
||
20 | 'description', |
||
21 | 'css', |
||
22 | 'level' |
||
23 | ]; |
||
24 | |||
25 | /** |
||
26 | * The "booting" method of the model. |
||
27 | * |
||
28 | * @return void |
||
29 | */ |
||
30 | protected static function boot() |
||
44 | } |
||
45 |