UserGuards::for()
Returns the guards for the model, bound to the currently authenticated user.
UserGuards::for(Model $model): UserGuards
Parameters
| Name | Type | Default |
|---|---|---|
| $modelrequired | Kirby\Cms\Model |
no default value |
Return type
Parent class
Kirby\Guards\UserGuards
inherited from Kirby\Guards\ModelGuards