public function ConstraintViolationInterface::getMessage

Returns the violation message.

@api

Return value

string The violation message.

1 method overrides ConstraintViolationInterface::getMessage()
ConstraintViolation::getMessage in drupal/core/vendor/symfony/validator/Symfony/Component/Validator/ConstraintViolation.php
Returns 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();