| 1 | <?php |
||
| 10 | View Code Duplication | class Permission extends Model implements PermissionHasRelationsContract |
|
| 11 | { |
||
| 12 | use Slugable, PermissionHasRelations; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * The attributes that are mass assignable. |
||
| 16 | * |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | protected $fillable = ['name', 'slug', 'description', 'model']; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Create a new model instance. |
||
| 23 | * |
||
| 24 | * @param array $attributes |
||
| 25 | */ |
||
| 26 | public function __construct(array $attributes = []) |
||
| 34 | } |
||
| 35 |