We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c26d77 + 85ad399 commit 87b1a79Copy full SHA for 87b1a79
components/serializer.rst
@@ -797,6 +797,12 @@ The Serializer component provides several built-in normalizers:
797
parent classes) by using `PHP reflection`_. It supports calling the constructor
798
during the denormalization process.
799
800
+.. versionadded:: 6.2
801
+
802
+ You can change normalization visibility by setting the serializer context option
803
+ ``PropertyNormalizer::NORMALIZE_VISIBILITY`` and combine ``PropertyNormalizer::NORMALIZE_PUBLIC``,
804
+ ``PropertyNormalizer::NORMALIZE_PROTECTED`` or ``PropertyNormalizer::NORMALIZE_PRIVATE``.
805
806
Objects are normalized to a map of property names to property values.
807
808
:class:`Symfony\\Component\\Serializer\\Normalizer\\JsonSerializableNormalizer`
0 commit comments