public function MetadataInterface::findConstraints in Plug 7
Returns all constraints for a given validation group.
Parameters
string $group The validation group:
Return value
Constraint[] A list of constraint instances
1 method overrides MetadataInterface::findConstraints()
- GenericMetadata::findConstraints in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Mapping/ GenericMetadata.php - Aware of the global group (* group).
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ MetadataInterface.php, line 72
Class
- MetadataInterface
- A container for validation metadata.
Namespace
Symfony\Component\ValidatorCode
public function findConstraints($group);