diff --git a/cookbook/bundles/best_practices.rst b/cookbook/bundles/best_practices.rst index 51465b9d15a..d9c5fa88801 100644 --- a/cookbook/bundles/best_practices.rst +++ b/cookbook/bundles/best_practices.rst @@ -230,13 +230,20 @@ following standardized instructions in your ``README.md`` file. // app/AppKernel.php // ... - - public function registerBundles() + class AppKernel extends Kernel { - $bundles = array( + public function registerBundles() + { + $bundles = array( + // ... + + new \\(), + ); + // ... - return new \\(), - ); + } + + // ... } ```