Property | Type | Description | |
---|---|---|---|
$table |
Method | Description | |
---|---|---|
boot ( ) : void | Boot the model. | |
build ( string $nameSingular, string $namePlural, string $color, string $icon ) : static | Create a new group. | |
permissions ( ) : Illuminate\Database\Eloquent\Relations\HasMany | Define the relationship with the group's permissions. | |
rename ( string $nameSingular, string $namePlural ) | Rename the group. | |
users ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | Define the relationship with the group's users. |
public permissions ( ) : Illuminate\Database\Eloquent\Relations\HasMany | ||
return | Illuminate\Database\Eloquent\Relations\HasMany |
public users ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | ||
return | Illuminate\Database\Eloquent\Relations\BelongsToMany |