layout = "admin"; $this->uri_path = "admin/"; $this->view_path = "admin/"; $this->title = "관리자페이지 메인"; $this->helper = new CommonHelper(); } protected function getService(): UserService { if ($this->service === null) { $this->service = new UserService(); } return $this->service; } public function index(): string { helper(['form']); return view('admin/welcome_message', ['viewDatas' => $this->getViewDatas()]); } }