You are here

public function ExecutionContext::getGroup in Plug 7

Same name in this branch
  1. 7 lib/Symfony/validator/Symfony/Component/Validator/ExecutionContext.php \Symfony\Component\Validator\ExecutionContext::getGroup()
  2. 7 lib/Symfony/validator/Symfony/Component/Validator/Context/ExecutionContext.php \Symfony\Component\Validator\Context\ExecutionContext::getGroup()

Returns the validation group that is currently being validated.

Return value

string The current validation group.

Overrides ExecutionContextInterface::getGroup

File

lib/Symfony/validator/Symfony/Component/Validator/Context/ExecutionContext.php, line 279

Class

ExecutionContext
The context used and created by {@link ExecutionContextFactory}.

Namespace

Symfony\Component\Validator\Context

Code

public function getGroup() {
  return $this->group;
}