You are here

class FakeClassMetadata in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Fixtures/FakeClassMetadata.php \Symfony\Component\Validator\Tests\Fixtures\FakeClassMetadata

Hierarchy

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\Fixtures
View source
class FakeClassMetadata extends ClassMetadata {
  public function addCustomPropertyMetadata($propertyName, $metadata) {
    if (!isset($this->members[$propertyName])) {
      $this->members[$propertyName] = array();
    }
    $this->members[$propertyName][] = $metadata;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ClassMetadata::$defaultGroup 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::$getters 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::$groupSequence 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::$groupSequenceProvider 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::$members 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::$name 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::$properties 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::$reflClass private property
ClassMetadata::$traversalStrategy public property The strategy for traversing traversable objects. Overrides GenericMetadata::$traversalStrategy
ClassMetadata::accept Deprecated public function Overrides GenericMetadata::accept
ClassMetadata::addConstraint public function Adds a constraint. Overrides GenericMetadata::addConstraint
ClassMetadata::addGetterConstraint public function Adds a constraint to the getter of the given property.
ClassMetadata::addGetterConstraints public function
ClassMetadata::addMemberMetadata Deprecated protected function Adds a member metadata.
ClassMetadata::addPropertyConstraint public function Adds a constraint to the given property.
ClassMetadata::addPropertyConstraints public function
ClassMetadata::addPropertyMetadata private function Adds a property metadata.
ClassMetadata::getCascadingStrategy public function Class nodes are never cascaded. Overrides GenericMetadata::getCascadingStrategy
ClassMetadata::getClassName public function Returns the name of the backing PHP class. Overrides ClassBasedInterface::getClassName
ClassMetadata::getConstrainedProperties public function Returns the names of all constrained properties. Overrides ClassMetadataInterface::getConstrainedProperties
ClassMetadata::getDefaultGroup public function Returns the name of the default group for this class.
ClassMetadata::getGroupSequence public function Returns the group sequence that overrides the "Default" group for this class. Overrides ClassMetadataInterface::getGroupSequence
ClassMetadata::getMemberMetadatas Deprecated public function Returns all metadatas of members describing the given property.
ClassMetadata::getPropertyMetadata public function Returns all metadata instances for the given named property. Overrides PropertyMetadataContainerInterface::getPropertyMetadata
ClassMetadata::getReflectionClass public function Returns a ReflectionClass instance for this class.
ClassMetadata::hasGroupSequence public function Returns whether the "Default" group is overridden by a group sequence. Overrides ClassMetadataInterface::hasGroupSequence
ClassMetadata::hasMemberMetadatas Deprecated public function Returns true if metadatas of members is present for the given property.
ClassMetadata::hasPropertyMetadata public function Check if there's any metadata attached to the given named property. Overrides PropertyMetadataContainerInterface::hasPropertyMetadata
ClassMetadata::isGroupSequenceProvider public function Returns whether the "Default" group is overridden by a dynamic group sequence obtained by the validated objects. Overrides ClassMetadataInterface::isGroupSequenceProvider
ClassMetadata::mergeConstraints public function Merges the constraints of the given metadata into this object.
ClassMetadata::setGroupSequence public function Sets the default group sequence for this class.
ClassMetadata::setGroupSequenceProvider public function Sets whether a group sequence provider should be used.
ClassMetadata::__construct public function Constructs a metadata for the given class. Overrides ElementMetadata::__construct
ClassMetadata::__sleep public function Returns the names of the properties that should be serialized. Overrides GenericMetadata::__sleep
FakeClassMetadata::addCustomPropertyMetadata public function
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::addConstraints public function Adds an list of constraints.
GenericMetadata::findConstraints public function Aware of the global group (* group). Overrides MetadataInterface::findConstraints
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.