public function MetadataInterface::getConstraints in Plug 7
Returns all constraints of this element.
Return value
Constraint[] A list of Constraint instances
1 method overrides MetadataInterface::getConstraints()
- GenericMetadata::getConstraints in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ GenericMetadata.php - Returns all constraints of this element.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ MetadataInterface.php, line 57
Class
- MetadataInterface
- A container for validation metadata.
Namespace
Symfony\Component\Validator\MappingCode
public function getConstraints();