/** * Sets a variable for the template view * * @param string $name The name of the variable * @param string $value The value of the variable */ public function setVar($name, $value) { $this->varHolder->set($name, $value); }