| 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 | 'level' |
||
| 22 | ]; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The "booting" method of the model. |
||
| 26 | * |
||
| 27 | * @return void |
||
| 28 | */ |
||
| 29 | protected static function boot() |
||
| 38 | } |
||
| 39 |