@@ -377,27 +377,33 @@ Full Default Configuration
377
377
.. code-block :: yaml
378
378
379
379
framework :
380
-
381
- # general configuration
380
+ charset : ~
381
+ secret : ~
382
382
trust_proxy_headers : false
383
- secret : ~ # Required
383
+ trusted_proxies : []
384
384
ide : ~
385
385
test : ~
386
386
default_locale : en
387
387
388
388
# form configuration
389
389
form :
390
- enabled : true
390
+ enabled : false
391
391
csrf_protection :
392
- enabled : true
392
+ enabled : false
393
393
field_name : _token
394
394
395
395
# esi configuration
396
396
esi :
397
- enabled : true
397
+ enabled : false
398
+
399
+ # fragments configuration
400
+ fragments :
401
+ enabled : false
402
+ path : /_fragment
398
403
399
404
# profiler configuration
400
405
profiler :
406
+ enabled : false
401
407
only_exceptions : false
402
408
only_master_requests : false
403
409
dsn : file:%kernel.cache_dir%/profiler
@@ -417,11 +423,17 @@ Full Default Configuration
417
423
type : ~
418
424
http_port : 80
419
425
https_port : 443
420
- # if false, an empty URL will be generated if a route is missing required parameters
421
- strict_requirements : %kernel.debug%
426
+
427
+ # set to true to throw an exception when a parameter does not match the requirements
428
+ # set to false to disable exceptions when a parameter does not match the requirements (and return null instead)
429
+ # set to null to disable parameter checks against requirements
430
+ # 'true' is the preferred configuration in development mode, while 'false' or 'null' might be preferred in production
431
+ strict_requirements : true
422
432
423
433
# session configuration
424
434
session :
435
+
436
+ # DEPRECATED! Session starts on demand
425
437
auto_start : false
426
438
storage_id : session.storage.native
427
439
handler_id : session.handler.native_file
@@ -472,8 +484,8 @@ Full Default Configuration
472
484
loaders : []
473
485
packages :
474
486
475
- # A collection of named packages
476
- some_package_name :
487
+ # Prototype
488
+ name :
477
489
version : ~
478
490
version_format : %%s?%%s
479
491
base_urls :
@@ -482,20 +494,22 @@ Full Default Configuration
482
494
483
495
# translator configuration
484
496
translator :
485
- enabled : true
497
+ enabled : false
486
498
fallback : en
487
499
488
500
# validation configuration
489
501
validation :
490
- enabled : true
502
+ enabled : false
491
503
cache : ~
492
504
enable_annotations : false
505
+ translation_domain : validators
493
506
494
507
# annotation configuration
495
508
annotations :
496
509
cache : file
497
- file_cache_dir : " %kernel.cache_dir%/annotations"
498
- debug : true
510
+ file_cache_dir : %kernel.cache_dir%/annotations
511
+ debug : %kernel.debug%
512
+
499
513
500
514
.. _`protocol-relative` : http://tools.ietf.org/html/rfc3986#section-4.2
501
515
.. _`sprintf()` : http://php.net/manual/en/function.sprintf.php
0 commit comments