You are here

public function ExecutionContextInterface::isConstraintValidated in Zircon Profile 8

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

Returns whether a constraint was 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:

Return value

bool Whether the constraint was already validated

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

File

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

Class

ExecutionContextInterface
The context of a validation run.

Namespace

Symfony\Component\Validator\Context

Code

public function isConstraintValidated($cacheKey, $constraintHash);