You are here

class GroupSequenceProviderEntity in Plug 7

@Assert\GroupSequenceProvider

Hierarchy

Expanded class hierarchy of GroupSequenceProviderEntity

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

File

lib/Symfony/validator/Symfony/Component/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