Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit60ab4d0

Browse files
committed
Changed due to comments in repo collab
1 parent69e76ab commit60ab4d0

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 Extensionclass
180+
Registering the ExtensionClass
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-
Manuallyregistering an Extensionclass
193+
ManuallyRegistering an ExtensionClass
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)

[8]ページ先頭

©2009-2025 Movatter.jp