8ea540a88c
- use PHP7 null coalesce operator instead of laravel optional method - change Breadcrumbs::register method to Bredcrumbs::for method - composer updates
18 lines
313 B
PHP
18 lines
313 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Zizaco\Entrust\EntrustRole;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
class Role extends EntrustRole
|
|
{
|
|
use HasFactory;
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = ['name', 'description'];
|
|
}
|