class FakeClassMetadata in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Fixtures/FakeClassMetadata.php \Symfony\Component\Validator\Tests\Fixtures\FakeClassMetadata
Hierarchy
- class \Symfony\Component\Validator\Mapping\GenericMetadata implements MetadataInterface
- class \Symfony\Component\Validator\Mapping\ElementMetadata
- class \Symfony\Component\Validator\Mapping\ClassMetadata implements ClassMetadataInterface
- class \Symfony\Component\Validator\Tests\Fixtures\FakeClassMetadata
- class \Symfony\Component\Validator\Mapping\ClassMetadata implements ClassMetadataInterface
- class \Symfony\Component\Validator\Mapping\ElementMetadata
Expanded class hierarchy of FakeClassMetadata
1 file declares its use of FakeClassMetadata
- Abstract2Dot5ApiTest.php in vendor/
symfony/ validator/ Tests/ Validator/ Abstract2Dot5ApiTest.php
File
- vendor/
symfony/ validator/ Tests/ Fixtures/ FakeClassMetadata.php, line 16
Namespace
Symfony\Component\Validator\Tests\FixturesView source
class FakeClassMetadata extends ClassMetadata {
public function addCustomPropertyMetadata($propertyName, $metadata) {
if (!isset($this->members[$propertyName])) {
$this->members[$propertyName] = array();
}
$this->members[$propertyName][] = $metadata;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ClassMetadata:: |
public | property | @internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getDefaultGroup()} instead. | |
ClassMetadata:: |
public | property | @internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getPropertyMetadata()} instead. | |
ClassMetadata:: |
public | property | @internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getGroupSequence()} instead. | |
ClassMetadata:: |
public | property | @internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link isGroupSequenceProvider()} instead. | |
ClassMetadata:: |
public | property | @internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getPropertyMetadata()} instead. | |
ClassMetadata:: |
public | property | @internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getClassName()} instead. | |
ClassMetadata:: |
public | property | @internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getPropertyMetadata()} instead. | |
ClassMetadata:: |
private | property | ||
ClassMetadata:: |
public | property |
The strategy for traversing traversable objects. Overrides GenericMetadata:: |
|
ClassMetadata:: |
public | function |
Overrides GenericMetadata:: |
|
ClassMetadata:: |
public | function |
Adds a constraint. Overrides GenericMetadata:: |
|
ClassMetadata:: |
public | function | Adds a constraint to the getter of the given property. | |
ClassMetadata:: |
public | function | ||
ClassMetadata:: |
protected | function | Adds a member metadata. | |
ClassMetadata:: |
public | function | Adds a constraint to the given property. | |
ClassMetadata:: |
public | function | ||
ClassMetadata:: |
private | function | Adds a property metadata. | |
ClassMetadata:: |
public | function |
Class nodes are never cascaded. Overrides GenericMetadata:: |
|
ClassMetadata:: |
public | function |
Returns the name of the backing PHP class. Overrides ClassBasedInterface:: |
|
ClassMetadata:: |
public | function |
Returns the names of all constrained properties. Overrides ClassMetadataInterface:: |
|
ClassMetadata:: |
public | function | Returns the name of the default group for this class. | |
ClassMetadata:: |
public | function |
Returns the group sequence that overrides the "Default" group for this
class. Overrides ClassMetadataInterface:: |
|
ClassMetadata:: |
public | function | Returns all metadatas of members describing the given property. | |
ClassMetadata:: |
public | function |
Returns all metadata instances for the given named property. Overrides PropertyMetadataContainerInterface:: |
|
ClassMetadata:: |
public | function | Returns a ReflectionClass instance for this class. | |
ClassMetadata:: |
public | function |
Returns whether the "Default" group is overridden by a group sequence. Overrides ClassMetadataInterface:: |
|
ClassMetadata:: |
public | function | Returns true if metadatas of members is present for the given property. | |
ClassMetadata:: |
public | function |
Check if there's any metadata attached to the given named property. Overrides PropertyMetadataContainerInterface:: |
|
ClassMetadata:: |
public | function |
Returns whether the "Default" group is overridden by a dynamic group
sequence obtained by the validated objects. Overrides ClassMetadataInterface:: |
|
ClassMetadata:: |
public | function | Merges the constraints of the given metadata into this object. | |
ClassMetadata:: |
public | function | Sets the default group sequence for this class. | |
ClassMetadata:: |
public | function | Sets whether a group sequence provider should be used. | |
ClassMetadata:: |
public | function |
Constructs a metadata for the given class. Overrides ElementMetadata:: |
|
ClassMetadata:: |
public | function |
Returns the names of the properties that should be serialized. Overrides GenericMetadata:: |
|
FakeClassMetadata:: |
public | function | ||
GenericMetadata:: |
public | property | The strategy for cascading objects. | |
GenericMetadata:: |
public | property | @internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getConstraints()} and {@link findConstraints()} instead. | |
GenericMetadata:: |
public | property | @internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link findConstraints()} instead. | |
GenericMetadata:: |
public | function | Adds an list of constraints. | |
GenericMetadata:: |
public | function |
Aware of the global group (* group). Overrides MetadataInterface:: |
|
GenericMetadata:: |
public | function |
Returns all constraints of this element. Overrides MetadataInterface:: |
|
GenericMetadata:: |
public | function |
Returns the strategy for traversing traversable objects. Overrides MetadataInterface:: |
|
GenericMetadata:: |
public | function | Returns whether this element has any constraints. | |
GenericMetadata:: |
public | function | Clones this object. |