original_string: protected function replaceDimensions($message, $attribute, $rule, $parameters)
      {
          $parameters = $this->parseNamedParameters($parameters);
  
          if (is_array($parameters)) {
              foreach ($parameters as $key => $value) {
                  $message = str_replace(':'.$key, $value, $message);
              }
          }
  
          return $message;
      }
code: protected function replaceDimensions($message, $attribute, $rule, $parameters)
      {
          $parameters = $this->parseNamedParameters($parameters);
  
          if (is_array($parameters)) {
              foreach ($parameters as $key => $value) {
                  $message = str_replace(':'.$key, $value, $message);
              }
          }
  
          return $message;
      }
code_tokens: protected function replaceDimensions ( $ message , $ attribute , $ rule , $ parameters ) { $ parameters = $ this -> parseNamedParameters ( $ parameters ) ; if ( is_array ( $ parameters ) ) { foreach ( $ parameters as $ key => $ value ) { $ message = str_replace ( ':' . $ key , $ value , $ message ) ; } } return $ message ; }
docstring: Replace all place-holders for the dimensions rule.
  
  @param  string  $message
  @param  string  $attribute
  @param  string  $rule
  @param  array   $parameters
  @return string
docstring_tokens: Replace all place - holders for the dimensions rule .