public function ExecutionContextInterface::setGroup in Plug 7
Sets the currently validated group.
@internal Used by the validator engine. Should not be called by user code.
Parameters
string|null $group The validated group:
1 method overrides ExecutionContextInterface::setGroup()
- ExecutionContext::setGroup in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Context/ ExecutionContext.php - Sets the currently validated group.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Context/ ExecutionContextInterface.php, line 138
Class
- ExecutionContextInterface
- The context of a validation run.
Namespace
Symfony\Component\Validator\ContextCode
public function setGroup($group);