public ConstraintValidatorFactory::__construct(ClassResolverInterface $class_resolver)
Constructs a new ConstraintValidatorFactory.
Parameters
\Drupal\Core\DependencyInjection\ClassResolverInterface $class_resolver:
Overrides ConstraintValidatorFactory::__construct
File
- core/lib/Drupal/Core/Validation/ConstraintValidatorFactory.php, line 19
Class
- ConstraintValidatorFactory
- Defines a constraint validator factory that works with container injection.
Namespace
Drupal\Core\Validation
Code
public function __construct(ClassResolverInterface $class_resolver) { $this->classResolver = $class_resolver; }
Please login to continue.