code: public function makeReplacements($message, $attribute, $rule, $parameters)
      {
          if (is_object($rule)) {
              $rule = get_class($rule);
          }
          
          return $this->callValidator('makeReplacements', [$message, $attribute, $rule, $parameters]);
      }
docs: Replace all error message place-holders with actual values.
  
  @param string $message
  @param string $attribute
  @param string $rule
  @param array $parameters
  @return string