You are here

public function ConstraintViolationInterface::getMessageTemplate in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/ConstraintViolationInterface.php \Symfony\Component\Validator\ConstraintViolationInterface::getMessageTemplate()

Returns the raw violation message.

The raw violation message contains placeholders for the parameters returned by {@link getMessageParameters}. Typically you'll pass the message template and parameters to a translation engine.

Return value

string The raw violation message.

1 method overrides ConstraintViolationInterface::getMessageTemplate()
ConstraintViolation::getMessageTemplate in vendor/symfony/validator/ConstraintViolation.php
Returns the raw violation message.

File

vendor/symfony/validator/ConstraintViolationInterface.php, line 54

Class

ConstraintViolationInterface
A violation of a constraint that happened during validation.

Namespace

Symfony\Component\Validator

Code

public function getMessageTemplate();