Skip to content

Commit

Permalink
minor symfony#20435 [Serializer] Fix broken links and syntax issues (…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
javiereguiluz committed Dec 5, 2024
2 parents a798057 + 36326a9 commit 6e55716
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,9 @@ The serializer, and its normalizers and encoders, are configured through
the *serializer context*. This context can be configured in multiple
places:

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

You can use all three options at the same time. When the same setting is
configured in multiple places, the latter in the list above will override
Expand Down Expand Up @@ -363,6 +363,8 @@ instance to disallow extra fields while deserializing:
];
$serializer = new Serializer($normalizers, $encoders);
.. _serializer-context-while-serializing-deserializing:

Pass Context while Serializing/Deserializing
............................................

Expand Down Expand Up @@ -1482,7 +1484,7 @@ Debugging the Serializer

.. versionadded:: 6.3

The debug:serializer`` command was introduced in Symfony 6.3.
The ``debug:serializer`` command was introduced in Symfony 6.3.

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

.. configuration-block::

Expand Down

0 comments on commit 6e55716

Please sign in to comment.