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

Appearance settings

Commit 671eba4

Browse filesBrowse files
committed
[FrameworkBundle] Deprecate setting the collect_serializer_data to false
1 parent e6830ea commit 671eba4
Copy full SHA for 671eba4

File tree

Expand file treeCollapse file tree

1 file changed

+7
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-3
lines changed

‎reference/configuration/framework.rst

Copy file name to clipboardExpand all lines: reference/configuration/framework.rst
+7-3Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2352,12 +2352,16 @@ Combine it with the ``collect`` option to enable/disable the profiler on demand:
23522352
collect_serializer_data
23532353
.......................
23542354

2355-
**type**: ``boolean`` **default**: ``false``
2355+
**type**: ``boolean`` **default**: ``true``
23562356

2357-
Set this option to ``true`` to enable the serializer data collector and its
2358-
profiler panel. When this option is ``true``, all normalizers and encoders are
2357+
When this option is ``true``, all normalizers and encoders are
23592358
decorated by traceable implementations that collect profiling information about them.
23602359

2360+
.. deprecated:: 7.3
2361+
2362+
Setting the ``collect_serializer_data`` option to ``false`` is deprecated
2363+
since Symfony 7.3.
2364+
23612365
.. _profiler-dsn:
23622366

23632367
dsn

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.