/** * Sends the variable to the view. * * @param string $name Variable name. * @param mixed $value Value. */ public function set($name, $value = null) { View::addGlobal($name, $value); }