ClassMetadata::getReflectionClass()

ReflectionClass getReflectionClass() Returns a ReflectionClass instance for this class. Return Value ReflectionClass

ClassMetadata::getName()

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

ClassMetadata::getConstrainedProperties()

string[] getConstrainedProperties() Returns the names of all constrained properties. Return Value string[] A list of property names

ClassMetadata::getReflectionClass()

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

ClassMetadata::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.

ClassMetadata::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

ClassMetadata::getDefaultGroup()

string getDefaultGroup() Returns the name of the default group for this class. For each class, the group "Default" is an alias for the group "", where is the non-namespaced name of the class. All constraints implicitly or explicitly assigned to group "Default" belong to both of these groups, unless the class defines a group sequence. If a class defines a group sequence, validating the class in "Default" will validate the group sequence. The constraints assigned to "Default" can

ClassMetadata::getCascadingStrategy()

int getCascadingStrategy() Class nodes are never cascaded. {@inheritdoc} Return Value int The cascading strategy

ClassMetadata::addPropertyConstraints()

ClassMetadata addPropertyConstraints(string $property, array $constraints) Parameters string $property array $constraints Return Value ClassMetadata

ClassMetadata::getClassName()

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