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