Skip to content

Commit 6e55716

Browse files
committed
minor #20435 [Serializer] Fix broken links and syntax issues (MrYamous)
This PR was merged into the 6.4 branch. Discussion ---------- [Serializer] Fix broken links and syntax issues Commits ------- 36326a9 fix broken links and syntax issues
2 parents a798057 + 36326a9 commit 6e55716

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

serializer.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,9 @@ The serializer, and its normalizers and encoders, are configured through
290290
the *serializer context*. This context can be configured in multiple
291291
places:
292292

293-
* `Globally through the framework configuration <Configure a Default Context>`_
294-
* `While serializing/deserializing <Pass Context while Serializing/Deserializing>`_
295-
* `For a specific property <Configure Context on a Specific Property>`_
293+
* :ref:`Globally through the framework configuration <serializer-default-context>`
294+
* :ref:`While serializing/deserializing <serializer-context-while-serializing-deserializing>`
295+
* :ref:`For a specific property <serializer-using-context-builders>`
296296

297297
You can use all three options at the same time. When the same setting is
298298
configured in multiple places, the latter in the list above will override
@@ -363,6 +363,8 @@ instance to disallow extra fields while deserializing:
363363
];
364364
$serializer = new Serializer($normalizers, $encoders);
365365
366+
.. _serializer-context-while-serializing-deserializing:
367+
366368
Pass Context while Serializing/Deserializing
367369
............................................
368370

@@ -1482,7 +1484,7 @@ Debugging the Serializer
14821484

14831485
.. versionadded:: 6.3
14841486

1485-
The debug:serializer`` command was introduced in Symfony 6.3.
1487+
The ``debug:serializer`` command was introduced in Symfony 6.3.
14861488

14871489
Use the ``debug:serializer`` command to dump the serializer metadata of a
14881490
given class:
@@ -1969,7 +1971,7 @@ these type names to the real PHP class name when deserializing:
19691971
</serializer>
19701972
19711973
With the discriminator map configured, the serializer can now pick the
1972-
correct class for properties typed as `InvoiceItemInterface`::
1974+
correct class for properties typed as ``InvoiceItemInterface``::
19731975

19741976
.. configuration-block::
19751977

0 commit comments

Comments
 (0)