Validator::clearResolvedInstances()

static void clearResolvedInstances() Clear all of the resolved instances. Return Value void

Validator::attributes()

array attributes() Get all attributes. Return Value array

Validator::addReplacers()

void addReplacers(array $replacers) Register an array of custom validator message replacers. Parameters array $replacers Return Value void

Validator::after()

$this after(callable|string $callback) After an after validation callback. Parameters callable|string $callback Return Value $this

Validator::addExtensions()

void addExtensions(array $extensions) Register an array of custom validator extensions. Parameters array $extensions Return Value void

Validator::addImplicitExtension()

void addImplicitExtension(string $rule, Closure|string $extension) Register a custom implicit validator extension. Parameters string $rule Closure|string $extension Return Value void

Validator::addExtension()

void addExtension(string $rule, Closure|string $extension) Register a custom validator extension. Parameters string $rule Closure|string $extension Return Value void

Validator::addReplacer()

void addReplacer(string $rule, Closure|string $replacer) Register a custom validator message replacer. Parameters string $rule Closure|string $replacer Return Value void

Validator::addImplicitExtensions()

void addImplicitExtensions(array $extensions) Register an array of custom implicit validator extensions. Parameters array $extensions Return Value void

Validator::addCustomAttributes()

$this addCustomAttributes(array $customAttributes) Add custom attributes to the validator. Parameters array $customAttributes Return Value $this