We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a4e226 commit bd7da67Copy full SHA for bd7da67
cookbook/bundles/best_practices.rst
@@ -230,13 +230,20 @@ following standardized instructions in your ``README.md`` file.
230
// app/AppKernel.php
231
232
// ...
233
-
234
- public function registerBundles()
+ class AppKernel extends Kernel
235
{
236
- $bundles = array(
+ public function registerBundles()
+ {
237
+ $bundles = array(
238
+ // ...
239
+
240
+ new <vendor>\<bundle-name>\<bundle-long-name>(),
241
+ );
242
243
- return new <vendor>\<bundle-name>\<bundle-long-name>(),
- );
244
+ }
245
246
247
}
248
```
249
0 commit comments