code: public function assign($name, $value)
      {
          if (!isset($this->view)) {
              throw new ViewException('Please Define view engine in app/View.php', 500);
          }
  
          return $this->view->assign($name, $value);
      }
docs: Defines template variables.
  
  @param string $name
  @param mixed  $value
  
  @return mixed