@@ -177,10 +177,11 @@ You can begin specifying configuration under this namespace immediately:
177177 array. You can still provide some sensible defaults for your bundle if
178178 you want.
179179
180- Registering the Extension class
180+ Registering the Extension Class
181181-------------------------------
182182
183- An Extension class will automatically be registered by Symfony2 when following these simple conventions:
183+ An Extension class will automatically be registered by Symfony2 when
184+ following these simple conventions:
184185
185186* The extension must be stored in the ``DependencyInjection `` sub-namespace;
186187
@@ -189,10 +190,11 @@ An Extension class will automatically be registered by Symfony2 when following t
189190
190191* The extension should provide an XSD schema.
191192
192- Manually registering an Extension class
193+ Manually Registering an Extension Class
193194~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
194195
195- To manually register an extension class override the
196+ When not following the conventions you will have to manually register your
197+ extension. To manually register an extension class override the
196198:method: `Bundle::build() <Symfony\\ Component\\ HttpKernel\\ Bundle\\ Bundle::build> `
197199method in your bundle::
198200
@@ -554,6 +556,9 @@ For more details, see :doc:`/cookbook/bundles/prepend_extension`.
554556Default Configuration Dump
555557~~~~~~~~~~~~~~~~~~~~~~~~~~
556558
559+ .. versionadded :: 2.1
560+ The ``config:dump-reference `` command was added in Symfony 2.1
561+
557562The ``config:dump-reference `` command allows a bundle's default configuration to
558563be output to the console in YAML.
559564
0 commit comments