You are here

public function Expression::validatedBy in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Constraints/Expression.php \Symfony\Component\Validator\Constraints\Expression::validatedBy()

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.

Return value

string

Overrides Constraint::validatedBy

File

vendor/symfony/validator/Constraints/Expression.php, line 55

Class

Expression
@Target({"CLASS", "PROPERTY", "METHOD", "ANNOTATION"})

Namespace

Symfony\Component\Validator\Constraints

Code

public function validatedBy() {
  return 'validator.expression';
}