Skip to content

Commit 60ab4d0

Browse files
committed
Changed due to comments in repo collab
1 parent 69e76ab commit 60ab4d0

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

cookbook/bundles/extension.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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>`
197199
method in your bundle::
198200

@@ -554,6 +556,9 @@ For more details, see :doc:`/cookbook/bundles/prepend_extension`.
554556
Default Configuration Dump
555557
~~~~~~~~~~~~~~~~~~~~~~~~~~
556558

559+
.. versionadded:: 2.1
560+
The ``config:dump-reference`` command was added in Symfony 2.1
561+
557562
The ``config:dump-reference`` command allows a bundle's default configuration to
558563
be output to the console in YAML.
559564

0 commit comments

Comments
 (0)