示例#1
0
文件: Presenter.php 项目: ytnuk/page
 public function actionEdit(int $id)
 {
     if (!($this->entity = $this->repository->getById($id))) {
         $this->error();
     }
 }