abstract class ElementMetadata in Plug 7
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
Deprecated since version 2.5, to be removed in Symfony 3.0. Extend {@link GenericMetadata} instead.
1 file declares its use of ElementMetadata
- LegacyElementMetadataTest.php in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Mapping/ LegacyElementMetadataTest.php
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ ElementMetadata.php, line 22
Namespace
Symfony\Component\Validator\MappingView source
abstract class ElementMetadata extends GenericMetadata {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
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 |