public function GroupSequenceProviderEntity::getGroupSequence

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

drupal/core/vendor/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->groups;
}