프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$table |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | Illuminate\Database\Eloquent\Relations\HasMany |
public users ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | ||
리턴 | Illuminate\Database\Eloquent\Relations\BelongsToMany |