You are here

public function ConstraintViolation::getMessagePluralization in Zircon Profile 8

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

Overrides ConstraintViolationInterface::getMessagePluralization

Deprecated

since version 2.7, to be removed in 3.0. Use getPlural() instead

File

vendor/symfony/validator/ConstraintViolation.php, line 169

Class

ConstraintViolation
Default implementation of {@ConstraintViolationInterface}.

Namespace

Symfony\Component\Validator

Code

public function getMessagePluralization() {
  @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.7, to be removed in 3.0. Use the ConstraintViolation::getPlural() method instead.', E_USER_DEPRECATED);
  return $this->plural;
}