protected function replacePlaceHolder($string) { foreach ($this->placeHolders as $key => $val) { $string = str_replace($key, $val, $string); } return $string; }