You are here

class GroupSequenceProviderEntity in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Fixtures/GroupSequenceProviderEntity.php \Symfony\Component\Validator\Tests\Fixtures\GroupSequenceProviderEntity

@Assert\GroupSequenceProvider

Hierarchy

Expanded class hierarchy of GroupSequenceProviderEntity

1 file declares its use of GroupSequenceProviderEntity
AbstractValidatorTest.php in vendor/symfony/validator/Tests/Validator/AbstractValidatorTest.php
2 string references to 'GroupSequenceProviderEntity'
ClassMetadataTest::testGroupSequenceFailsIfGroupSequenceProviderIsSet in vendor/symfony/validator/Tests/Mapping/ClassMetadataTest.php
@expectedException \Symfony\Component\Validator\Exception\GroupDefinitionException
ClassMetadataTest::testGroupSequenceProviderFailsIfGroupSequenceIsSet in vendor/symfony/validator/Tests/Mapping/ClassMetadataTest.php
@expectedException \Symfony\Component\Validator\Exception\GroupDefinitionException

File

vendor/symfony/validator/Tests/Fixtures/GroupSequenceProviderEntity.php, line 20

Namespace

Symfony\Component\Validator\Tests\Fixtures
View source
class GroupSequenceProviderEntity implements GroupSequenceProviderInterface {
  public $firstName;
  public $lastName;
  protected $sequence = array();
  public function __construct($sequence) {
    $this->sequence = $sequence;
  }
  public function getGroupSequence() {
    return $this->sequence;
  }

}

Members