瀏覽代碼

missing ObjectAdapter

Andreas von Burg 3 年之前
父節點
當前提交
0669dd08e7
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src-php/app/internship/bo/Article.php

+ 3 - 1
src-php/app/internship/bo/Article.php

@@ -1,7 +1,9 @@
 <?php
 namespace internship\bo;
 
-class Article implements \JsonSerializable {
+use n2n\reflection\ObjectAdapter;
+
+class Article extends ObjectAdapter implements \JsonSerializable {
 	private int $id;
 	private string $categoryName;
 	private string $text;