Symfony\Component\Validator\ExecutionContext::getGroup PHP Method

getGroup() public method

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

Usage Example

 public function testInit()
 {
     $this->assertCount(0, $this->context->getViolations());
     $this->assertSame('Root', $this->context->getRoot());
     $this->assertSame('foo.bar', $this->context->getPropertyPath());
     $this->assertSame('Group', $this->context->getGroup());
 }
All Usage Examples Of Symfony\Component\Validator\ExecutionContext::getGroup