service === null) { $this->service = service('boardservice'); } $this->addActionPaths('board'); } //Action작업관련 protected function getEntityClass(): string { return UserEntity::class; } //기본 함수 작업 //Custom 추가 함수 public function latest(string $category): ResponseInterface { $action = __FUNCTION__; $this->action_init_process($action); return $this->response->setJSON($this->service->getLatest($category)); } public function reqeusttask(): ResponseInterface { $action = __FUNCTION__; $this->action_init_process($action); return $this->response->setJSON($this->service->getRequestTaskCount($this->getAuthContext()->getUID())); } }