class GroupSequenceProviderEntity in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Fixtures/GroupSequenceProviderEntity.php \Symfony\Component\Validator\Tests\Fixtures\GroupSequenceProviderEntity
@Assert\GroupSequenceProvider
Hierarchy
- class \Symfony\Component\Validator\Tests\Fixtures\GroupSequenceProviderEntity implements GroupSequenceProviderInterface
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\FixturesView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GroupSequenceProviderEntity:: |
public | property | ||
GroupSequenceProviderEntity:: |
public | property | ||
GroupSequenceProviderEntity:: |
protected | property | ||
GroupSequenceProviderEntity:: |
public | function |
Returns which validation groups should be used for a certain state
of the object. Overrides GroupSequenceProviderInterface:: |
|
GroupSequenceProviderEntity:: |
public | function |