Renders the template and returns the result.
string
public function render() { $keys = array(); foreach ($this->values as $key => $value) { $keys[] = '{' . $key . '}'; } return str_replace($keys, $this->values, $this->template); }