Returns the violation message.
@api
Return value
string The violation message.
File
- drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ConstraintViolationInterface.php, line 47
Class
- ConstraintViolationInterface
- A violation of a constraint that happened during validation.
Namespace
Symfony\Component\Validator
Code
public function getMessage();