Skip to content

Kirby 6.0.0

$languageValidators->ensure()

Runs all validators for the given action. Actions with a dedicated ensureTo<Action>() method are handed over to it, all others have nothing to validate.

$languageValidators->ensure(string $action, mixed ...$arguments): void

Parameters

Name Type Default
$actionrequired string no default value
...$arguments mixed no default value

Parent class

Kirby\Guards\LanguageValidators inherited from Kirby\Guards\ModelValidators