ConstraintValidatorFactory::__construct

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;
}
doc_Drupal
2016-10-29 08:56:09
Comments
Leave a Comment

Please login to continue.