回答編集履歴

2

ゴミを削除

2015/12/15 08:40

投稿

KatsumiTanaka
KatsumiTanaka

スコア924

test CHANGED
@@ -68,8 +68,6 @@
68
68
 
69
69
  * @link http://book.cakephp.org/3.0/en/controllers.html#the-app-controller
70
70
 
71
- * @property hoge $hoge
72
-
73
71
  * @property App\Model\Entity\person $Person
74
72
 
75
73
  * @property App\Model\Table\PersonsTable $Persons

1

回答の追記

2015/12/15 08:40

投稿

KatsumiTanaka
KatsumiTanaka

スコア924

test CHANGED
@@ -45,3 +45,43 @@
45
45
  }
46
46
 
47
47
  ```
48
+
49
+
50
+
51
+ **追記:**
52
+
53
+ 以下のようにAppControllerのヘッダ部を設定することで、補完ができることを確認しました
54
+
55
+ ```PHP
56
+
57
+ /**
58
+
59
+ * Application Controller
60
+
61
+ *
62
+
63
+ * Add your application-wide methods in the class below, your controllers
64
+
65
+ * will inherit them.
66
+
67
+ *
68
+
69
+ * @link http://book.cakephp.org/3.0/en/controllers.html#the-app-controller
70
+
71
+ * @property hoge $hoge
72
+
73
+ * @property App\Model\Entity\person $Person
74
+
75
+ * @property App\Model\Table\PersonsTable $Persons
76
+
77
+ *
78
+
79
+ */
80
+
81
+ class AppController extends Controller
82
+
83
+ {
84
+
85
+
86
+
87
+ ```