Skip to content

module Athena::Validator::ConstraintValidatorFactoryInterface #

Provides validator instances based on a validator class, caching the instance.

AVD::ServiceConstraintValidators are instantiated externally and injected into the factory.

Direct including types

Athena::Validator::ConstraintValidatorFactory

Methods#

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

Returns an AVD::ConstraintValidatorInterface instance based on the provided validator_class.

View source