_view = new View(); } // final public function getView(): View { return $this->_view; } final public function __get($name) { return $this->getView()->$name; } final public function __set($name, $value) { $this->getView()->$name = $value; } public function render(string $path) { return $this->getView()->render($path); } } //Class