You are here

abstract class ElementMetadata in Plug 7

Contains the metadata of a structural element.

@author Bernhard Schussek <bschussek@gmail.com>

Hierarchy

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\Mapping
View source
abstract class ElementMetadata extends GenericMetadata {

}

Members

Namesort descending Modifiers Type Description Overrides
GenericMetadata::$cascadingStrategy public property The strategy for cascading objects.
GenericMetadata::$constraints 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::$constraintsByGroup 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::$traversalStrategy public property The strategy for traversing traversable objects. 1
GenericMetadata::accept Deprecated public function Exists for compatibility with the deprecated {@link Symfony\Component\Validator\MetadataInterface}. Overrides MetadataInterface::accept 2
GenericMetadata::addConstraint public function Adds a constraint. 2
GenericMetadata::addConstraints public function Adds an list of constraints.
GenericMetadata::findConstraints public function Aware of the global group (* group). Overrides MetadataInterface::findConstraints
GenericMetadata::getCascadingStrategy public function Returns the strategy for cascading objects. Overrides MetadataInterface::getCascadingStrategy 1
GenericMetadata::getConstraints public function Returns all constraints of this element. Overrides MetadataInterface::getConstraints
GenericMetadata::getTraversalStrategy public function Returns the strategy for traversing traversable objects. Overrides MetadataInterface::getTraversalStrategy
GenericMetadata::hasConstraints public function Returns whether this element has any constraints.
GenericMetadata::__clone public function Clones this object.
GenericMetadata::__sleep public function Returns the names of the properties that should be serialized. 2