You are here

public function ExecutionContextInterface::markConstraintAsValidated in Plug 7

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:

1 method overrides ExecutionContextInterface::markConstraintAsValidated()
ExecutionContext::markConstraintAsValidated in lib/Symfony/validator/Symfony/Component/Validator/Context/ExecutionContext.php
Marks a constraint as validated for an object.

File

lib/Symfony/validator/Symfony/Component/Validator/Context/ExecutionContextInterface.php, line 186

Class

ExecutionContextInterface
The context of a validation run.

Namespace

Symfony\Component\Validator\Context

Code

public function markConstraintAsValidated($cacheKey, $constraintHash);