Skip to content

Commit d1b3d2b

Browse files
committed
Minor tweak
1 parent fe76c97 commit d1b3d2b

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy