public function view($name, $data = []) { return tpl::load(dirname(__DIR__) . DS . 'views' . DS . $name . '.php', $data); }