protected function replaceBody($body, $valueMatch, $replacer) { $body = str_replace('{' . $replacer . '}', $valueMatch, $body); return $body; }