public function ExecutionContextInterface::isConstraintValidated in Plug 7
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
1 method overrides ExecutionContextInterface::isConstraintValidated()
- ExecutionContext::isConstraintValidated in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Context/ ExecutionContext.php - Returns whether a constraint was validated for an object.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Context/ ExecutionContextInterface.php, line 199
Class
- ExecutionContextInterface
- The context of a validation run.
Namespace
Symfony\Component\Validator\ContextCode
public function isConstraintValidated($cacheKey, $constraintHash);