You are here

public function ExecutionContextInterface::markConstraintAsValidated in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Context/ExecutionContextInterface.php \Symfony\Component\Validator\Context\ExecutionContextInterface::markConstraintAsValidated()

Marks a constraint as validated for an object.

@internal Used by the validator engine. Should not be called by user code.

Parameters

string $cacheKey The hash of the object:

string $constraintHash The hash of the constraint:

2 methods override ExecutionContextInterface::markConstraintAsValidated()
ExecutionContext::markConstraintAsValidated in vendor/symfony/validator/Context/ExecutionContext.php
Marks a constraint as validated for an object.
ExecutionContext::markConstraintAsValidated in core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php
Marks a constraint as validated for an object.

File

vendor/symfony/validator/Context/ExecutionContextInterface.php, line 187

Class

ExecutionContextInterface
The context of a validation run.

Namespace

Symfony\Component\Validator\Context

Code

public function markConstraintAsValidated($cacheKey, $constraintHash);