Symfony\Component\Validator\Mapping\ElementMetadata::getConstraints
Returns all constraints of this element.
Signature
public function getConstraints()
Returns
- array
- An array of Constraint instances
public function getConstraints()