module Athena::Validator::ConstraintValidatorFactoryInterface
Overview
Provides validator instances based on a validator class, caching the instance.
AVD::ServiceConstraintValidator
s are instantiated externally and injected into the factory.
Direct including types
Defined in:
constraint_validator_factory_interface.crInstance Method Summary
-
#validator(validator : AVD::ConstraintValidator.class) : AVD::ConstraintValidatorInterface
Returns an
AVD::ConstraintValidatorInterface
instance based on the provided validator_class.
Instance Method Detail
abstract
def validator(validator : AVD::ConstraintValidator.class) : AVD::ConstraintValidatorInterface
#
Returns an AVD::ConstraintValidatorInterface
instance based on the provided validator_class.