class ConfigureValidator

The ConfigureModelValidator event is called when a validator instance for a model is being built. This event can be used to add custom rules/extensions to the validator for when validation takes place.

Properties

AbstractValidator $type
Validator $validator

Methods

__construct(AbstractValidator $type, Validator $validator)

No description

Details

__construct(AbstractValidator $type, Validator $validator)

Parameters

AbstractValidator $type
Validator $validator