Symfony\Component\Validator\Mapping\ElementMetadata::findConstraints
Returns the constraints of the given group and global ones (* group).
Signature
public function findConstraints(string
$group )
Parameters
$group
— string- The group name
Returns
- array
- An array with all Constraint instances belonging to the group