質問するログイン新規登録

回答編集履歴

2

ゴミを削除

2015/12/15 08:40

投稿

KatsumiTanaka
KatsumiTanaka

スコア924

answer CHANGED
@@ -33,7 +33,6 @@
33
33
  * will inherit them.
34
34
  *
35
35
  * @link http://book.cakephp.org/3.0/en/controllers.html#the-app-controller
36
- * @property hoge $hoge
37
36
  * @property App\Model\Entity\person $Person
38
37
  * @property App\Model\Table\PersonsTable $Persons
39
38
  *

1

回答の追記

2015/12/15 08:40

投稿

KatsumiTanaka
KatsumiTanaka

スコア924

answer CHANGED
@@ -21,4 +21,24 @@
21
21
  $this->hoge->test001();
22
22
  }
23
23
  }
24
+ ```
25
+
26
+ **追記:**
27
+ 以下のようにAppControllerのヘッダ部を設定することで、補完ができることを確認しました
28
+ ```PHP
29
+ /**
30
+ * Application Controller
31
+ *
32
+ * Add your application-wide methods in the class below, your controllers
33
+ * will inherit them.
34
+ *
35
+ * @link http://book.cakephp.org/3.0/en/controllers.html#the-app-controller
36
+ * @property hoge $hoge
37
+ * @property App\Model\Entity\person $Person
38
+ * @property App\Model\Table\PersonsTable $Persons
39
+ *
40
+ */
41
+ class AppController extends Controller
42
+ {
43
+
24
44
  ```