You are here

public function ConstraintViolation::getMessageParameters in Plug 7

Returns the parameters to be inserted into the raw violation message.

@api

Return value

array A possibly empty list of parameters indexed by the names that appear in the message template.

Overrides ConstraintViolationInterface::getMessageParameters

See also

getMessageTemplate()

File

lib/Symfony/validator/Symfony/Component/Validator/ConstraintViolation.php, line 145

Class

ConstraintViolation
Default implementation of {@ConstraintViolationInterface}.

Namespace

Symfony\Component\Validator

Code

public function getMessageParameters() {
  return $this->parameters;
}