abstract class ElementMetadata in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Mapping/ElementMetadata.php \Symfony\Component\Validator\Mapping\ElementMetadata
Contains the metadata of a structural element.
@author Bernhard Schussek <bschussek@gmail.com>
Hierarchy
- class \Symfony\Component\Validator\Mapping\GenericMetadata implements MetadataInterface
- class \Symfony\Component\Validator\Mapping\ElementMetadata
Expanded class hierarchy of ElementMetadata
Deprecated
since version 2.5, to be removed in 3.0. Extend {@link GenericMetadata} instead.
1 file declares its use of ElementMetadata
- LegacyElementMetadataTest.php in vendor/
symfony/ validator/ Tests/ Mapping/ LegacyElementMetadataTest.php
File
- vendor/
symfony/ validator/ Mapping/ ElementMetadata.php, line 22
Namespace
Symfony\Component\Validator\MappingView source
abstract class ElementMetadata extends GenericMetadata {
public function __construct() {
if (!$this instanceof MemberMetadata && !$this instanceof ClassMetadata) {
@trigger_error('The ' . __CLASS__ . ' class is deprecated since version 2.5 and will be removed in 3.0. Use the Symfony\\Component\\Validator\\Mapping\\GenericMetadata class instead.', E_USER_DEPRECATED);
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ElementMetadata:: |
public | function | 2 | |
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 | property | The strategy for traversing traversable objects. | 1 |
GenericMetadata:: |
public | function |
Exists for compatibility with the deprecated
{@link Symfony\Component\Validator\MetadataInterface}. Overrides MetadataInterface:: |
2 |
GenericMetadata:: |
public | function | Adds a constraint. | 2 |
GenericMetadata:: |
public | function | Adds an list of constraints. | |
GenericMetadata:: |
public | function |
Aware of the global group (* group). Overrides MetadataInterface:: |
|
GenericMetadata:: |
public | function |
Returns the strategy for cascading objects. Overrides MetadataInterface:: |
1 |
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. | |
GenericMetadata:: |
public | function | Returns the names of the properties that should be serialized. | 2 |