File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ data.
232232Context
233233-------
234234
235- Many Serializer features can be configured :doc: `using a context </serializer#serializer -context >`.
235+ Many Serializer features can be configured :doc: `using a context </serializer#serializer_serializer -context >`.
236236
237237.. _component-serializer-attributes-groups :
238238
@@ -1093,7 +1093,7 @@ always as a collection.
10931093 changed by adding the ``\XML_COMMENT_NODE `` option to the ``XmlEncoder::ENCODER_IGNORED_NODE_TYPES ``
10941094 key of the ``$defaultContext `` of the ``XmlEncoder `` constructor or
10951095 directly to the ``$context `` argument of the ``encode() `` method::
1096-
1096+
10971097 $xmlEncoder->encode($array, 'xml', [XmlEncoder::ENCODER_IGNORED_NODE_TYPES => [\XML_COMMENT_NODE]]);
10981098
10991099The ``XmlEncoder `` Context Options
@@ -1192,7 +1192,7 @@ Option Description Defaul
11921192Context Builders
11931193----------------
11941194
1195- Instead of passing plain PHP arrays to the :ref: `serialization context <serializer -context >`,
1195+ Instead of passing plain PHP arrays to the :ref: `serialization context <serializer_serializer -context >`,
11961196you can use "context builders" to define the context using a fluent interface::
11971197
11981198 use Symfony\Component\Serializer\Context\Encoder\CsvEncoderContextBuilder;
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ possible to set the priority of the tag in order to decide the matching order.
9090 ``DateTime `` or ``DateTimeImmutable `` classes to avoid excessive memory
9191 usage and exposing internal details.
9292
93- .. _ serializer -context :
93+ .. _ serializer_serializer -context :
9494
9595Serializer Context
9696------------------
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ How to Create your Custom Context Builder
1111The :doc: `Serializer Component </components/serializer >` uses Normalizers
1212and Encoders to transform any data to any data-structure (e.g. JSON).
1313That serialization process can be configured thanks to a
14- :ref: `serialization context <serializer -context >`, which can be built thanks to
14+ :ref: `serialization context <serializer_serializer -context >`, which can be built thanks to
1515:ref: `context builders <component-serializer-context-builders >`.
1616
1717Each built-in normalizer/encoder has its related context builder. However, you
You can’t perform that action at this time.
0 commit comments