質問編集履歴

2

追加

2016/08/28 16:30

投稿

imamoto_browser
imamoto_browser

スコア1161

test CHANGED
File without changes
test CHANGED
@@ -76,6 +76,28 @@
76
76
 
77
77
  ```
78
78
 
79
+
80
+
81
+ ```json
82
+
83
+ "autoload": {
84
+
85
+ "psr-4": {
86
+
87
+
88
+
89
+ "myapp\\": "src/",
90
+
91
+ "mycontroller\\": "public/"
92
+
93
+
94
+
95
+ }
96
+
97
+ },
98
+
99
+ ```
100
+
79
101
  mycontrollerにバインドしたディレクトリのクラスは読めています。
80
102
 
81
103
  階層は、mycontrollerがpublicにバインドされていて、publicディレクトリの下に、idiormディレクトリがあり、その中に、idiorm.phpがあり、その中にORMクラスが記述されています。

1

追加

2016/08/28 16:30

投稿

imamoto_browser
imamoto_browser

スコア1161

test CHANGED
File without changes
test CHANGED
@@ -78,6 +78,10 @@
78
78
 
79
79
  mycontrollerにバインドしたディレクトリのクラスは読めています。
80
80
 
81
+ 階層は、mycontrollerがpublicにバインドされていて、publicディレクトリの下に、idiormディレクトリがあり、その中に、idiorm.phpがあり、その中にORMクラスが記述されています。
82
+
83
+
84
+
81
85
 
82
86
 
83
87
  名前空間を使わず、requireをつかった際はうまく呼べていたのですが、どのように記述すべきでしょうか。