Symfony\Component\Validator\Mapping\ClassMetadata::mergeConstraints
Merges the constraints of the given metadata into this object.
Signature
public function mergeConstraints(ClassMetadata
$source )
Parameters
$source
— Symfony\Component\Validator\Mapping\ClassMetadata- The source metadata