public function ExecutionContextInterface::isGroupValidated in Plug 7
Returns whether an object was validated in a specific validation group.
@internal Used by the validator engine. Should not be called by user code.
Parameters
string $cacheKey The hash of the object:
string $groupHash The group's name or hash, if it is group: sequence
Return value
bool Whether the object was already validated for that group
1 method overrides ExecutionContextInterface::isGroupValidated()
- ExecutionContext::isGroupValidated in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Context/ ExecutionContext.php - Returns whether an object was validated in a specific validation group.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Context/ ExecutionContextInterface.php, line 175
Class
- ExecutionContextInterface
- The context of a validation run.
Namespace
Symfony\Component\Validator\ContextCode
public function isGroupValidated($cacheKey, $groupHash);