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

Commit8d9a47c

Browse files
ifdatticwouterj
authored andcommitted
Update prepend_extension.rst
| Q | A| ------------- | ---| Doc fix? | yes| New docs? | no| Applies to | 2.3| Fixed tickets |
1 parent04ae7c2 commit8d9a47c

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

‎cookbook/bundles/prepend_extension.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ in case a specific other bundle is not registered::
6868
switch ($name) {
6969
case 'acme_something':
7070
case 'acme_other':
71-
// set use_acme_goodbye to false in the config of acme_something and acme_other
72-
// note that if the user manually configured use_acme_goodbye to true in the
73-
// app/config/config.yml then the setting would in the end be true and not false
71+
// set use_acme_goodbye to false in the config of
72+
// acme_something and acme_other note that if the user manually
73+
// configured use_acme_goodbye to true in the app/config/config.yml
74+
// then the setting would in the end be true and not false
7475
$container->prependExtensionConfig($name, $config);
7576
break;
7677
}
@@ -79,7 +80,8 @@ in case a specific other bundle is not registered::
7980

8081
// process the configuration of AcmeHelloExtension
8182
$configs = $container->getExtensionConfig($this->getAlias());
82-
// use the Configuration class to generate a config array with the settings "acme_hello"
83+
// use the Configuration class to generate a config array with
84+
// the settings "acme_hello"
8385
$config = $this->processConfiguration(new Configuration(), $configs);
8486

8587
// check if entity_manager_name is set in the "acme_hello" configuration
@@ -121,11 +123,11 @@ for ``acme_hello`` is set to ``non_default``:
121123
122124
// app/config/config.php
123125
$container->loadFromExtension('acme_something', array(
124-
...,
126+
//...
125127
'use_acme_goodbye' => false,
126128
'entity_manager_name' => 'non_default',
127129
));
128130
$container->loadFromExtension('acme_other', array(
129-
...,
131+
//...
130132
'use_acme_goodbye' => false,
131133
));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp