public function autoRender() { if ($this->autoRender) { $view = new View($this); $view->autoRender(); } }