File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
src/Symfony/Component/HttpKernel Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,32 @@ HttpKernel
109
109
----------
110
110
111
111
* The `DebugHandlersListener` class has been marked as `final`
112
+ * Added new Bundle directory convention consistent with standard skeletons:
113
+
114
+ ```
115
+ └── AcmeBundle
116
+ ├── config/
117
+ ├── public/
118
+ ├── src/
119
+ │ └── AcmeBundle.php
120
+ ├── templates/
121
+ └── translations/
122
+ ```
123
+
124
+ To make this work properly, it is necessary to change the root path of the bundle :
125
+
126
+ ` ` ` php
127
+ class AcmeBundle extends Bundle
128
+ {
129
+ public function getPath()
130
+ {
131
+ return \d irname(__DIR__);
132
+ }
133
+ }
134
+ ` ` `
135
+
136
+ As bundles must be compatible with many Symfony versions we are not deprecating
137
+ the current directory convention yet, but it will be in future versions.
112
138
113
139
Lock
114
140
----
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ CHANGELOG
5
5
-----
6
6
7
7
* The ` DebugHandlersListener ` class has been marked as ` final `
8
+ * Added new Bundle directory convention consistent with standard skeletons
8
9
9
10
4.3.0
10
11
-----
You can’t perform that action at this time.
0 commit comments