Skip to content

Kirby 6.0.0

$methods->has()

Checks if the method type is enabled/configured

$methods->has(string $type): bool

Parameters

Name Type Default
$typerequired string no default value

Return type

bool

Parent class

Kirby\Auth\Methods