public function GenericMetadata::findConstraints in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Mapping/GenericMetadata.php \Symfony\Component\Validator\Mapping\GenericMetadata::findConstraints()
Aware of the global group (* group).
Overrides MetadataInterface::findConstraints
File
- vendor/
symfony/ validator/ Mapping/ GenericMetadata.php, line 206
Class
- GenericMetadata
- A generic container of {@link Constraint} objects.
Namespace
Symfony\Component\Validator\MappingCode
public function findConstraints($group) {
return isset($this->constraintsByGroup[$group]) ? $this->constraintsByGroup[$group] : array();
}