protected function getFormattedMessage($validator, $rule, $parameters, $name, $locale)
    {
        $message = $this->getMessage($validator, $rule, $name, $locale);

        return $validator->makeReplacements($message, $name, $rule, $parameters);
    }