Skip to content

Commit 2685f38

Browse files
committed
minor #17783 Combine component and framework docs for Serializer (wouterj)
This PR was merged into the 6.4 branch. Discussion ---------- Combine component and framework docs for Serializer A very early PR, to avoid someone else working on this as well (especially `@fabpot` who is on fire with this type of PRs lately). The serializer docs are the most unfortunate component - framework documentation situations I think, with most of the docs in the component docs instead of framework one. This PR is focused on combining all the information in the framework guide as a start. closes #17814 Commits ------- 8a1497b Combine component and framework docs for Serializer
2 parents 56dfb87 + 8a1497b commit 2685f38

15 files changed

+2465
-2391
lines changed

_build/redirection_map

+3-1
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@
525525
/testing/functional_tests_assertions /testing#testing-application-assertions
526526
/components https://symfony.com/components
527527
/components/index https://symfony.com/components
528-
/serializer/normalizers /components/serializer#normalizers
528+
/serializer/normalizers /serializer#serializer-built-in-normalizers
529529
/logging/monolog_regex_based_excludes /logging/monolog_exclude_http_codes
530530
/security/named_encoders /security/named_hashers
531531
/components/inflector /components/string#inflector
@@ -566,3 +566,5 @@
566566
/messenger/dispatch_after_current_bus /messenger#messenger-transactional-messages
567567
/messenger/multiple_buses /messenger#messenger-multiple-buses
568568
/frontend/encore/server-data /frontend/server-data
569+
/components/serializer /serializer
570+
/serializer/custom_encoder /serializer/encoders#serializer-custom-encoder

components/property_access.rst

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ default configuration::
2626

2727
$propertyAccessor = PropertyAccess::createPropertyAccessor();
2828

29+
.. _property-access-reading-arrays:
30+
2931
Reading from Arrays
3032
-------------------
3133

components/property_info.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -458,9 +458,9 @@ SerializerExtractor
458458

459459
This extractor depends on the `symfony/serializer`_ library.
460460

461-
Using :ref:`groups metadata <serializer-using-serialization-groups-attributes>`
462-
from the :doc:`Serializer component </components/serializer>`,
463-
the :class:`Symfony\\Component\\PropertyInfo\\Extractor\\SerializerExtractor`
461+
Using :ref:`groups metadata <serializer-groups-attribute>` from the
462+
:doc:`Serializer component </serializer>`, the
463+
:class:`Symfony\\Component\\PropertyInfo\\Extractor\\SerializerExtractor`
464464
provides list information. This extractor is *not* registered automatically
465465
with the ``property_info`` service in the Symfony Framework::
466466

0 commit comments

Comments
 (0)