Method |
Description |
|
addGroup ( string | Group $group ) : boolean |
Adds the current model to the specified group. |
|
getGroupNames ( boolean $recursive = false ) : array |
Returns the models groups names in a single dimension array. |
|
getGroups ( array $fields = [], boolean $recursive = false ) : Collection |
Returns the models groups that it is apart of. |
|
inGroup ( mixed $group, boolean $recursive = false ) : boolean |
Determine if the current model is a member of the specified group(s). |
|
removeGroup ( string | Group $group ) : boolean |
Removes the current model from the specified group. |
|