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

Commitd1b3d2b

Browse files
committed
Minor tweak
1 parentfe76c97 commitd1b3d2b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎configuration.rst‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ configuration files, even if they use a different format:
129129
// glob expressions are also supported to load multiple files
130130
$container->import('/etc/myapp/*.yaml');
131131
};
132-
132+
133133
// ...
134134
135135
.. _config-parameter-intro:
@@ -221,12 +221,16 @@ reusable configuration value. By convention, parameters are defined under the
221221
// the parameter name is an arbitrary string (the 'app.' prefix is recommended
222222
// to better differentiate your parameters from Symfony parameters).
223223
->set('app.admin_email', 'something@example.com')
224+
224225
// boolean parameters
225226
->set('app.enable_v2_protocol', true)
227+
226228
// array/collection parameters
227229
->set('app.supported_locales', ['en', 'es', 'fr'])
230+
228231
// binary content parameters (use the PHP escape sequences)
229232
->set('app.some_parameter', 'This is a Bell char: \x07')
233+
230234
// PHP constants as parameter values
231235
->set('app.some_constant', GLOBAL_CONSTANT)
232236
->set('app.another_constant', BlogPost::MAX_ITEMS);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp