ClassMetadata addPropertyConstraint(string $property, Constraint $constraint)
Adds a constraint to the given property.
ClassMetadata addPropertyConstraint(string $property, Constraint $constraint)
Adds a constraint to the given property.
string | $property | The name of the property |
Constraint | $constraint | The constraint |
ClassMetadata | This object |
Designed by : w10schools
service@w10schools.com
Please login to continue.