Skip to content

Kirby 6.0.0

FileGuards::for()

Returns the guards for the model, bound to the currently authenticated user.

FileGuards::for(Model $model): FileGuards

Parameters

Name Type Default
$modelrequired Kirby\Cms\Model no default value

Return type

Kirby\Guards\FileGuards

Parent class

Kirby\Guards\FileGuards inherited from Kirby\Guards\ModelGuards