Skip to content

struct Athena::Validator::ConstraintValidatorFactory
inherits Struct #

Basic implementation of AVD::ConstraintValidatorFactoryInterface.

Included modules

Athena::Validator::ConstraintValidatorFactoryInterface

Methods#

#validator(for validator_class : AVD::ServiceConstraintValidator.class) : AVD::ConstraintValidator#

Returns an AVD::ConstraintValidator based on the provided validator_class.

Note

This overloaded is intended to be used for service based validators that are already instantiated and were provided via DI.

View source

#validator(for validator_class : AVD::ConstraintValidator.class) : AVD::ConstraintValidator#

Returns an AVD::ConstraintValidator based on the provided validator_class.

View source