Свойство | Type | Description | |
---|---|---|---|
$table |
Méthode | 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 | ||
Résultat | Illuminate\Database\Eloquent\Relations\HasMany |
public users ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | ||
Résultat | Illuminate\Database\Eloquent\Relations\BelongsToMany |