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
109109----------
110110
111111 * 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.
112138
113139Lock
114140----
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ CHANGELOG
55-----
66
77 * The ` DebugHandlersListener ` class has been marked as ` final `
8+ * Added new Bundle directory convention consistent with standard skeletons
89
9104.3.0
1011-----
You can’t perform that action at this time.
0 commit comments