public function Constraint::validatedBy in Plug 7
Returns the name of the class that validates this constraint.
By default, this is the fully qualified name of the constraint class suffixed with "Validator". You can override this method to change that behaviour.
@api
Return value
string
1 method overrides Constraint::validatedBy()
- Expression::validatedBy in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraints/ Expression.php - Returns the name of the class that validates this constraint.
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Constraint.php, line 282
Class
- Constraint
- Contains the properties of a constraint definition.
Namespace
Symfony\Component\ValidatorCode
public function validatedBy() {
return get_class($this) . 'Validator';
}