public function ElementMetadata::getConstraints

Returns all constraints of this element.

Return value

Constraint[] An array of Constraint instances

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Mapping/ElementMetadata.php, line 79

Class

ElementMetadata

Namespace

Symfony\Component\Validator\Mapping

Code

public function getConstraints() {
  return $this->constraints;
}