model === null) { $this->model = new ZoneModel(); } return $this->model; } protected function getService(): ZoneService { if ($this->service === null) { $this->service = new ZoneService(); } return $this->service; } //Trigger작업 protected function trigger_process(): void { parent::trigger_process(); // //자신정보정의 // $this->entity = $this->getModel()->getEntityByPK($uid); // if ($this->entity === null) { // throw new \Exception("{$uid} 정보를 찾을수 없습니다."); // } // //부모데이터정의 // $this->_account_entity = $this->getAccountModel()->getEntityByPK($this->entity->getParent()); // //Socket처리 // $this->entity = $this->getMyLibrary()->sync($this->entity); log_message("notice", "Zone Trigger 작업완료"); } public function trigger(): ResponseInterface { return $this->trigger_procedure(); } }