public function ExecutionContext::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:
Overrides ExecutionContextInterface::setGroup
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Context/ ExecutionContext.php, line 168
Class
- ExecutionContext
- The context used and created by {@link ExecutionContextFactory}.
Namespace
Symfony\Component\Validator\ContextCode
public function setGroup($group) {
$this->group = $group;
}