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