Skip to content

Kirby 6.0.0

$userGuards->has()

Checks if the class defines a dedicated action method for the given action

$userGuards->has(string $action): bool

Parameters

Name Type Default
$actionrequired string no default value

Return type

bool

Parent class

Kirby\Guards\UserGuards inherited from Kirby\Guards\ModelGuards