8000 minor #19360 [FrameworkBundle] Update framework config (OskarStark) · symfony/symfony-docs@21e4f7d · GitHub
[go: up one dir, main page]

Skip to content

Commit 21e4f7d

Browse files
committed
minor #19360 [FrameworkBundle] Update framework config (OskarStark)
This PR was merged into the 7.0 branch. Discussion ---------- [FrameworkBundle] Update framework config Replaces * #18773 Commits ------- 0967509 Update framework config
2 parents 81080a8 + 0967509 commit 21e4f7d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

reference/configuration/framework.rst

+10-10
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,11 @@ out all the application users.
5353
handle_all_throwables
5454
~~~~~~~~~~~~~~~~~~~~~
5555

56-
**type**: ``boolean`` **default**: ``false``
56+
**type**: ``boolean`` **default**: ``true``
5757

58-
If set to ``true``, the Symfony kernel will catch all ``\Throwable`` exceptions
58+
When set to ``true``, the Symfony kernel will catch all ``\Throwable`` exceptions
5959
thrown by the application and will turn them into HTTP responses.
6060

61-
Starting from Symfony 7.0, the default value of this option will be ``true``.
62-
6361
.. _configuration-framework-http_cache:
6462

6563
http_cache
@@ -1575,11 +1573,13 @@ To see a list of all available storages, run:
15751573
handler_id
15761574
..........
15771575

1578-
**type**: ``string`` **default**: ``session.handler.native_file``
1576+
**type**: ``string`` | ``null`` **default**: ``null``
1577+
1578+
By default at ``null`` if ``framework.session.save_path`` is not set.
1579+
The session handler configured by php.ini is used, unless option
1580+
``framework.session.save_path`` is used, in which case the default is to store sessions
1581+
using the native file session handler.
15791582

1580-
The service id or DSN used for session storage. The default value ``'session.handler.native_file'``
1581-
will let Symfony manage the sessions itself using files to store the session metadata.
1582-
Set it to ``null`` to use the native PHP session mechanism.
15831583
It is possible to :ref:`store sessions in a database <session-database>`,
15841584
and also to configure the session handler with a DSN:
15851585

@@ -1844,7 +1844,7 @@ If not set, ``php.ini``'s `session.sid_bits_per_character`_ directive will be re
18441844
save_path
18451845
.........
18461846

1847-
**type**: ``string`` or ``null`` **default**: ``%kernel.cache_dir%/sessions``
1847+
**type**: ``string`` | ``null`` **default**: ``%kernel.cache_dir%/sessions``
18481848

18491849
This determines the argument to be passed to the save handler. If you choose
18501850
the default file handler, this is the path where the session files are created.
@@ -2940,7 +2940,7 @@ php_errors
29402940
log
29412941
...
29422942

2943-
**type**: ``boolean|int`` **default**: ``%kernel.debug%``
2943+
**type**: ``boolean`` | ``int`` **default**: ``true``
29442944

29452945
Use the application logger instead of the PHP logger for logging PHP errors.
29462946
When an integer value is used, it also sets the log level. Those integer

0 commit comments

Comments
 (0)
0