core/View.php
public function context(Controller $controller)
    {
        $this->template->context = $controller;
        $this->assign('this', $controller);
    }
public function context(Controller $controller)
    {
        $this->template->context = $controller;
        $this->assign('this', $controller);
    }
设置模板引擎上下文
@param Controller $controller