ClassNode::getName()

string getName() Return Value string

ClassNode

class ClassNode extends AbstractNode Represents a "." node. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods string getNodeName() from AbstractNode __construct(NodeInterface $selector, string $name) NodeInterface getSelector() string getName() Specificity getSpecificity() Returns node's specificity. string __toString() Returns node's string representation. Details

ClassMetadataInterface::merge()

merge(ClassMetadataInterface $classMetadata) Merges a {@link ClassMetadataInterface} in the current one. Parameters ClassMetadataInterface $classMetadata

ClassMetadataInterface::isGroupSequenceProvider()

bool isGroupSequenceProvider() Returns whether the "Default" group is overridden by a dynamic group sequence obtained by the validated objects. If this method returns true, the class must implement {@link \Symfony\Component\Validator\GroupSequenceProviderInterface}. This interface will be used to obtain the group sequence when an object of this class is validated. Return Value bool Returns true if the "Default" group is overridden by a dynamic group sequence See also \Symfony\C

ClassMetadataInterface::hasPropertyMetadata()

bool hasPropertyMetadata(string $property) Check if there's any metadata attached to the given named property. Parameters string $property The property name Return Value bool

ClassMetadataInterface::hasGroupSequence()

bool hasGroupSequence() Returns whether the "Default" group is overridden by a group sequence. If it is, you can access the group sequence with {@link getGroupSequence()}. Return Value bool Returns true if the "Default" group is overridden See also \Symfony\Component\Validator\Constraints\GroupSequence

ClassMetadataInterface::getReflectionClass()

ReflectionClass getReflectionClass() Returns a {@link \ReflectionClass} instance for this class. Return Value ReflectionClass

ClassMetadataInterface::getPropertyMetadata()

PropertyMetadataInterface[] getPropertyMetadata(string $property) Returns all metadata instances for the given named property. If your implementation does not support properties, simply throw an exception in this method (for example a BadMethodCallException). Parameters string $property The property name Return Value PropertyMetadataInterface[] A list of metadata instances. Empty if no metadata exists for the property.

ClassMetadataInterface::getName()

string getName() Returns the name of the backing PHP class. Return Value string The name of the backing class

ClassMetadataInterface::getGroupSequence()

GroupSequence|null getGroupSequence() Returns the group sequence that overrides the "Default" group for this class. Return Value GroupSequence|null The group sequence or null See also \Symfony\Component\Validator\Constraints\GroupSequence