public function GenericMetadata::findConstraints in Plug 7
Aware of the global group (* group).
Overrides MetadataInterface::findConstraints
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ GenericMetadata.php, line 205
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();
}