public function ConstraintViolation::getMessage in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/ConstraintViolation.php \Symfony\Component\Validator\ConstraintViolation::getMessage()
Returns the violation message.
Return value
string The violation message.
Overrides ConstraintViolationInterface::getMessage
1 call to ConstraintViolation::getMessage()
- ConstraintViolation::__toString in vendor/
symfony/ validator/ ConstraintViolation.php - Converts the violation into a string for debugging purposes.
File
- vendor/
symfony/ validator/ ConstraintViolation.php, line 187
Class
- ConstraintViolation
- Default implementation of {@ConstraintViolationInterface}.
Namespace
Symfony\Component\ValidatorCode
public function getMessage() {
return $this->message;
}