public function GenericMetadata::getConstraints in Plug 7
Returns all constraints of this element.
Return value
Constraint[] A list of Constraint instances
Overrides MetadataInterface::getConstraints
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ GenericMetadata.php, line 185
Class
- GenericMetadata
- A generic container of {@link Constraint} objects.
Namespace
Symfony\Component\Validator\MappingCode
public function getConstraints() {
return $this->constraints;
}