You are here

public function GroupSequenceProviderEntity::getGroupSequence in Plug 7

Returns which validation groups should be used for a certain state of the object.

Return value

array An array of validation groups

Overrides GroupSequenceProviderInterface::getGroupSequence

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/GroupSequenceProviderEntity.php, line 32

Class

GroupSequenceProviderEntity
@Assert\GroupSequenceProvider

Namespace

Symfony\Component\Validator\Tests\Fixtures

Code

public function getGroupSequence() {
  return $this->sequence;
}