Method | Description | |
---|---|---|
bootLaratrustGroupTrait ( ) : void | boolean | Boot the permission model Attach event listener to remove the many-to-many records when trying to delete Will NOT delete any records if the group model uses soft deletes. | |
roles ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | Many-to-Many relations with role model. | |
users ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | Many-to-Many relations with user model. |
public static bootLaratrustGroupTrait ( ) : void | boolean | ||
return | void | boolean |
public roles ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | ||
return | Illuminate\Database\Eloquent\Relations\BelongsToMany |
public users ( ) : Illuminate\Database\Eloquent\Relations\BelongsToMany | ||
return | Illuminate\Database\Eloquent\Relations\BelongsToMany |