1 | <?php |
||
8 | class Permission extends Model |
||
9 | { |
||
10 | /** |
||
11 | * The attributes that are mass assignable. |
||
12 | * |
||
13 | * @var array |
||
14 | */ |
||
15 | protected $fillable = [ |
||
16 | 'name' |
||
17 | ]; |
||
18 | |||
19 | /** |
||
20 | * Indicates if the model should be timestamped. |
||
21 | * |
||
22 | * @var bool |
||
23 | */ |
||
24 | public $timestamps = false; |
||
25 | |||
26 | public function scopeGroupByModel(Builder $query) |
||
34 | } |
||
35 |