struct Athena::Validator::ConstraintValidatorFactory
- Athena::Validator::ConstraintValidatorFactory
- Struct
- Value
- Object
Overview
Basic implementation of AVD::ConstraintValidatorFactoryInterface
.
Included Modules
Defined in:
constraint_validator_factory.crInstance Method Summary
-
#validator(validator_class : AVD::ServiceConstraintValidator.class) : AVD::ConstraintValidator
Returns an
AVD::ConstraintValidator
based on the provided validator_class. -
#validator(validator_class : AVD::ConstraintValidator.class) : AVD::ConstraintValidator
Returns an
AVD::ConstraintValidator
based on the provided validator_class.
Instance methods inherited from module Athena::Validator::ConstraintValidatorFactoryInterface
validator(validator : AVD::ConstraintValidator.class) : AVD::ConstraintValidatorInterface
validator
Instance Method Detail
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.
Returns an AVD::ConstraintValidator
based on the provided validator_class.