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

Commit80c175f

Browse files
committed
Don't use Flex config in 3.4 branch
1 parent9b9e0ef commit80c175f

File tree

5 files changed

+49
-49
lines changed

5 files changed

+49
-49
lines changed

‎cache.rst‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ adapter (template) they use by using the ``app`` and ``system`` key like:
5050

5151
..code-block::yaml
5252
53-
# config/packages/cache.yaml
53+
#app/config/config.yml
5454
framework:
5555
cache:
5656
app:cache.adapter.filesystem
5757
system:cache.adapter.system
5858
5959
..code-block::xml
6060
61-
<!-- config/packages/cache.xml-->
61+
<!--app/config/config.xml-->
6262
<?xml version="1.0" encoding="UTF-8" ?>
6363
<containerxmlns="http://symfony.com/schema/dic/services"
6464
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -75,7 +75,7 @@ adapter (template) they use by using the ``app`` and ``system`` key like:
7575
7676
..code-block::php
7777
78-
// config/packages/cache.php
78+
//app/config/config.php
7979
$container->loadFromExtension('framework', [
8080
'cache' => [
8181
'app' => 'cache.adapter.filesystem',
@@ -109,7 +109,7 @@ will create pool with service id of ``cache.[type]``
109109

110110
..code-block::yaml
111111
112-
# config/packages/cache.yaml
112+
#app/config/config.yml
113113
framework:
114114
cache:
115115
directory:'%kernel.cache_dir%/pools'# Only used with cache.adapter.filesystem
@@ -127,7 +127,7 @@ will create pool with service id of ``cache.[type]``
127127
128128
..code-block::xml
129129
130-
<!-- config/packages/cache.xml-->
130+
<!--app/config/config.xml-->
131131
<?xml version="1.0" encoding="UTF-8" ?>
132132
<containerxmlns="http://symfony.com/schema/dic/services"
133133
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -155,7 +155,7 @@ will create pool with service id of ``cache.[type]``
155155
156156
..code-block::php
157157
158-
// config/packages/cache.php
158+
//app/config/config.php
159159
$container->loadFromExtension('framework', [
160160
'cache' => [
161161
// Only used with cache.adapter.filesystem
@@ -183,7 +183,7 @@ You can also create more customized pools. All you need is an adapter:
183183

184184
..code-block::yaml
185185
186-
# config/packages/cache.yaml
186+
#app/config/config.yml
187187
framework:
188188
cache:
189189
default_memcached_provider:'memcached://localhost'
@@ -198,7 +198,7 @@ You can also create more customized pools. All you need is an adapter:
198198
199199
..code-block::xml
200200
201-
<!-- config/packages/cache.xml-->
201+
<!--app/config/config.xml-->
202202
<?xml version="1.0" encoding="UTF-8" ?>
203203
<containerxmlns="http://symfony.com/schema/dic/services"
204204
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -217,7 +217,7 @@ You can also create more customized pools. All you need is an adapter:
217217
218218
..code-block::php
219219
220-
// config/packages/cache.php
220+
//app/config/config.php
221221
$container->loadFromExtension('framework', [
222222
'cache' => [
223223
'default_memcached_provider' => 'memcached://localhost',
@@ -249,7 +249,7 @@ For advanced configurations it could sometimes be useful to use a pool as an ada
249249

250250
..code-block::yaml
251251
252-
# config/packages/cache.yaml
252+
#app/config/config.yml
253253
framework:
254254
cache:
255255
app:my_configured_app_cache
@@ -270,7 +270,7 @@ For advanced configurations it could sometimes be useful to use a pool as an ada
270270
271271
..code-block::xml
272272
273-
<!-- config/packages/cache.xml-->
273+
<!--app/config/config.xml-->
274274
<?xml version="1.0" encoding="UTF-8" ?>
275275
<containerxmlns="http://symfony.com/schema/dic/services"
276276
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -291,7 +291,7 @@ For advanced configurations it could sometimes be useful to use a pool as an ada
291291
292292
..code-block::php
293293
294-
// config/packages/cache.php
294+
//app/config/config.php
295295
$container->loadFromExtension('framework', [
296296
'cache' => [
297297
'app' => 'my_configured_app_cache',
@@ -330,7 +330,7 @@ and use that when configuring the pool.
330330

331331
..code-block::yaml
332332
333-
# config/packages/cache.yaml
333+
#app/config/config.yml
334334
framework:
335335
cache:
336336
pools:
@@ -348,7 +348,7 @@ and use that when configuring the pool.
348348
349349
..code-block::xml
350350
351-
<!-- config/packages/cache.xml-->
351+
<!--app/config/config.xml-->
352352
<?xml version="1.0" encoding="UTF-8" ?>
353353
<containerxmlns="http://symfony.com/schema/dic/services"
354354
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -375,7 +375,7 @@ and use that when configuring the pool.
375375
376376
.. code-block:: php
377377
378-
// config/packages/cache.php
378+
//app/config/config.php
379379
$container->loadFromExtension('framework', [
380380
'cache' => [
381381
'pools' => [
@@ -407,7 +407,7 @@ case the value needs to be recalculated.
407407

408408
..code-block::yaml
409409
410-
# config/packages/cache.yaml
410+
#app/config/config.yml
411411
framework:
412412
cache:
413413
pools:
@@ -426,7 +426,7 @@ case the value needs to be recalculated.
426426
427427
..code-block::xml
428428
429-
<!-- config/packages/cache.xml-->
429+
<!--app/config/config.xml-->
430430
<?xml version="1.0" encoding="UTF-8" ?>
431431
<containerxmlns="http://symfony.com/schema/dic/services"
432432
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -455,7 +455,7 @@ case the value needs to be recalculated.
455455
456456
..code-block::php
457457
458-
// config/packages/cache.php
458+
//app/config/config.php
459459
$container->loadFromExtension('framework', [
460460
'cache' => [
461461
'pools' => [

‎configuration/external_parameters.rst‎

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,14 @@ turn the value of the ``HTTP_PORT`` env var into an integer:
157157

158158
..code-block::yaml
159159
160-
# config/packages/framework.yaml
160+
#app/config/config.yml
161161
framework:
162162
router:
163163
http_port:env(int:HTTP_PORT)
164164
165165
..code-block::xml
166166
167-
<!-- config/packages/framework.xml-->
167+
<!--app/config/config.xml-->
168168
<?xml version="1.0" encoding="UTF-8" ?>
169169
<containerxmlns="http://symfony.com/schema/dic/services"
170170
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -181,7 +181,7 @@ turn the value of the ``HTTP_PORT`` env var into an integer:
181181
182182
..code-block::php
183183
184-
// config/packages/framework.php
184+
//app/config/config.php
185185
$container->loadFromExtension('framework', [
186186
'router' => [
187187
'http_port' => '%env(int:HTTP_PORT)%',
@@ -197,15 +197,15 @@ Symfony provides the following env var processors:
197197

198198
..code-block::yaml
199199
200-
# config/packages/framework.yaml
200+
#app/config/config.yml
201201
parameters:
202202
env(SECRET):'some_secret'
203203
framework:
204204
secret:'%env(string:SECRET)%'
205205
206206
..code-block::xml
207207
208-
<!-- config/packages/framework.xml-->
208+
<!--app/config/config.xml-->
209209
<?xml version="1.0" encoding="UTF-8" ?>
210210
<containerxmlns="http://symfony.com/schema/dic/services"
211211
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -224,7 +224,7 @@ Symfony provides the following env var processors:
224224
225225
..code-block::php
226226
227-
// config/packages/framework.php
227+
//app/config/config.php
228228
$container->setParameter('env(SECRET)', 'some_secret');
229229
$container->loadFromExtension('framework', [
230230
'secret' => '%env(string:SECRET)%',
@@ -237,15 +237,15 @@ Symfony provides the following env var processors:
237237

238238
..code-block::yaml
239239
240-
# config/packages/framework.yaml
240+
#app/config/config.yml
241241
parameters:
242242
env(HTTP_METHOD_OVERRIDE):'true'
243243
framework:
244244
http_method_override:'%env(bool:HTTP_METHOD_OVERRIDE)%'
245245
246246
..code-block::xml
247247
248-
<!-- config/packages/framework.xml-->
248+
<!--app/config/config.xml-->
249249
<?xml version="1.0" encoding="UTF-8" ?>
250250
<containerxmlns="http://symfony.com/schema/dic/services"
251251
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -264,7 +264,7 @@ Symfony provides the following env var processors:
264264
265265
..code-block::php
266266
267-
// config/packages/framework.php
267+
//app/config/config.php
268268
$container->setParameter('env(HTTP_METHOD_OVERRIDE)', 'true');
269269
$container->loadFromExtension('framework', [
270270
'http_method_override' => '%env(bool:HTTP_METHOD_OVERRIDE)%',
@@ -283,7 +283,7 @@ Symfony provides the following env var processors:
283283

284284
..code-block::yaml
285285
286-
# config/packages/security.yaml
286+
#app/config/config.yml
287287
parameters:
288288
env(HEALTH_CHECK_METHOD):'Symfony\Component\HttpFoundation\Request::METHOD_HEAD'
289289
security:
@@ -292,7 +292,7 @@ Symfony provides the following env var processors:
292292
293293
..code-block::xml
294294
295-
<!-- config/packages/security.xml-->
295+
<!--app/config/config.xml-->
296296
<?xml version="1.0" encoding="UTF-8" ?>
297297
<containerxmlns="http://symfony.com/schema/dic/services"
298298
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -311,7 +311,7 @@ Symfony provides the following env var processors:
311311
312312
..code-block::php
313313
314-
// config/packages/security.php
314+
//app/config/config.php
315315
$container->setParameter('env(HEALTH_CHECK_METHOD)', 'Symfony\Component\HttpFoundation\Request::METHOD_HEAD');
316316
$container->loadFromExtension('security', [
317317
'access_control' => [
@@ -333,15 +333,15 @@ Symfony provides the following env var processors:
333333

334334
..code-block::yaml
335335
336-
# config/packages/framework.yaml
336+
#app/config/config.yml
337337
parameters:
338338
env(TRUSTED_HOSTS):'["10.0.0.1", "10.0.0.2"]'
339339
framework:
340340
trusted_hosts:'%env(json:TRUSTED_HOSTS)%'
341341
342342
..code-block::xml
343343
344-
<!-- config/packages/framework.xml-->
344+
<!--app/config/config.xml-->
345345
<?xml version="1.0" encoding="UTF-8" ?>
346346
<containerxmlns="http://symfony.com/schema/dic/services"
347347
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -360,7 +360,7 @@ Symfony provides the following env var processors:
360360
361361
..code-block::php
362362
363-
// config/packages/framework.php
363+
//app/config/config.php
364364
$container->setParameter('env(TRUSTED_HOSTS)', '["10.0.0.1", "10.0.0.2"]');
365365
$container->loadFromExtension('framework', [
366366
'trusted_hosts' => '%env(json:TRUSTED_HOSTS)%',
@@ -374,7 +374,7 @@ Symfony provides the following env var processors:
374374

375375
..code-block::yaml
376376
377-
# config/packages/sentry.yaml
377+
#app/config/config.yml
378378
parameters:
379379
env(HOST):'10.0.0.1'
380380
sentry_host:'%env(HOST)%'
@@ -384,7 +384,7 @@ Symfony provides the following env var processors:
384384
385385
..code-block::xml
386386
387-
<!-- config/packages/sentry.xml-->
387+
<!--app/config/config.xml-->
388388
<?xml version="1.0" encoding="UTF-8" ?>
389389
<containerxmlns="http://symfony.com/schema/dic/services"
390390
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -402,7 +402,7 @@ Symfony provides the following env var processors:
402402
403403
..code-block::php
404404
405-
// config/packages/sentry.php
405+
//app/config/config.php
406406
$container->setParameter('env(HOST)', '10.0.0.1');
407407
$container->setParameter('sentry_host', '%env(HOST)%');
408408
$container->setParameter('env(SENTRY_DSN)', 'http://%sentry_host%/project');
@@ -417,15 +417,15 @@ Symfony provides the following env var processors:
417417

418418
..code-block::yaml
419419
420-
# config/packages/framework.yaml
420+
#app/config/config.yml
421421
parameters:
422422
env(AUTH_FILE):'../config/auth.json'
423423
google:
424424
auth:'%env(file:AUTH_FILE)%'
425425
426426
..code-block::xml
427427
428-
<!-- config/packages/framework.xml-->
428+
<!--app/config/config.xml-->
429429
<?xml version="1.0" encoding="UTF-8" ?>
430430
<containerxmlns="http://symfony.com/schema/dic/services"
431431
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -444,7 +444,7 @@ Symfony provides the following env var processors:
444444
445445
..code-block::php
446446
447-
// config/packages/framework.php
447+
//app/config/config.php
448448
$container->setParameter('env(AUTH_FILE)', '../config/auth.json');
449449
$container->loadFromExtension('google', [
450450
'auth' => '%env(file:AUTH_FILE)%',

‎form/bootstrap4.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ configuration:
3030

3131
..code-block::yaml
3232
33-
# config/packages/twig.yaml
33+
#app/config/config.yml
3434
twig:
3535
form_themes:['bootstrap_4_layout.html.twig']
3636
3737
..code-block::xml
3838
39-
<!-- config/packages/twig.xml-->
39+
<!--app/config/config.xml-->
4040
<?xml version="1.0" encoding="UTF-8" ?>
4141
<containerxmlns="http://symfony.com/schema/dic/services"
4242
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -54,7 +54,7 @@ configuration:
5454
5555
..code-block::php
5656
57-
// config/packages/twig.php
57+
//app/config/config.php
5858
$container->loadFromExtension('twig', [
5959
'form_themes' => [
6060
'bootstrap_4_layout.html.twig',

‎frontend/encore/advanced-config.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Next, define the output directories of each build:
104104

105105
..code-block::yaml
106106
107-
# config/packages/webpack_encore.yaml
107+
#app/config/config.yml
108108
webpack_encore:
109109
output_path:'%kernel.public_dir%/web/default_build'
110110
builds:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp