@@ -177,10 +177,11 @@ You can begin specifying configuration under this namespace immediately:
177
177
array. You can still provide some sensible defaults for your bundle if
178
178
you want.
179
179
180
- Registering the Extension class
180
+ Registering the Extension Class
181
181
-------------------------------
182
182
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:
184
185
185
186
* The extension must be stored in the ``DependencyInjection `` sub-namespace;
186
187
@@ -189,10 +190,11 @@ An Extension class will automatically be registered by Symfony2 when following t
189
190
190
191
* The extension should provide an XSD schema.
191
192
192
- Manually registering an Extension class
193
+ Manually Registering an Extension Class
193
194
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
194
195
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
196
198
:method: `Bundle::build() <Symfony\\ Component\\ HttpKernel\\ Bundle\\ Bundle::build> `
197
199
method in your bundle::
198
200
@@ -554,6 +556,9 @@ For more details, see :doc:`/cookbook/bundles/prepend_extension`.
554
556
Default Configuration Dump
555
557
~~~~~~~~~~~~~~~~~~~~~~~~~~
556
558
559
+ .. versionadded :: 2.1
560
+ The ``config:dump-reference `` command was added in Symfony 2.1
561
+
557
562
The ``config:dump-reference `` command allows a bundle's default configuration to
558
563
be output to the console in YAML.
559
564
0 commit comments