MemberMetadata::isProtected()

bool isProtected(object|string $objectOrClassName) Returns whether this member is protected. Parameters object|string $objectOrClassName The object or the class name Return Value bool

MemberMetadata::isPrivate()

bool isPrivate(object|string $objectOrClassName) Returns whether this member is private. Parameters object|string $objectOrClassName The object or the class name Return Value bool

MemberMetadata::getReflectionMember()

ReflectionMethod|ReflectionProperty getReflectionMember(object|string $objectOrClassName) Returns the reflection instance for accessing the member's value. Parameters object|string $objectOrClassName The object or the class name Return Value ReflectionMethod|ReflectionProperty The reflection instance

MemberMetadata::getPropertyName()

string getPropertyName() Returns the name of the property. Return Value string The property name.

MemberMetadata::getName()

string getName() Returns the name of the member. Return Value string

MemberMetadata::getClassName()

getClassName() {@inheritdoc}

MemberMetadata::addConstraint()

GenericMetadata addConstraint(Constraint $constraint) Adds a constraint. If the constraint {@link Valid} is added, the cascading strategy will be changed to {@link CascadingStrategy::CASCADE}. Depending on the $traverse property of that constraint, the traversal strategy will be set to one of the following: {@link TraversalStrategy::IMPLICIT} if $traverse is enabled {@link TraversalStrategy::NONE} if $traverse is disabled Parameters Constraint $constraint The constraint to add

MemberMetadata

class MemberMetadata extends GenericMetadata implements PropertyMetadataInterface Stores all metadata needed for validating a class property. The method of accessing the property's value must be specified by subclasses by implementing the {@link newReflectionMember()} method. This class supports serialization and cloning. Properties Constraint[] $constraints from GenericMetadata array $constraintsByGroup from GenericMetadata int $cascadingStrategy The strategy for cascading objects.

MaxDepth

class MaxDepth Annotation class for @MaxDepth(). Methods __construct(array $data) getMaxDepth() Details __construct(array $data) Parameters array $data getMaxDepth()

MatcherDumperInterface::getRoutes()

RouteCollection getRoutes() Gets the routes to dump. Return Value RouteCollection A RouteCollection instance