Symfony\Component\Validator\Mapping\ElementMetadata
Synopsis
class ElementMetadata
{
- // members
- public array $constraints;
- public array $constraintsByGroup;
- // methods
- public array __sleep()
- public void __clone()
- public ElementMetadata addConstraint()
- public array getConstraints()
- public Boolean hasConstraints()
- public array findConstraints()
Hierarchy
Extended by
Members
public
- $constraints — array
- $constraintsByGroup — array
Methods
public
- __clone() — Clones this object.
- __sleep() — Returns the names of the properties that should be serialized.
- addConstraint() — Adds a constraint to this element.
- findConstraints() — Returns the constraints of the given group and global ones (* group).
- getConstraints() — Returns all constraints of this element.
- hasConstraints() — Returns whether this element has any constraints.