class GroupSequenceProviderEntity in Plug 7
@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 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\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 |