8000 [Serializer] Use pack to install by TimoBakx · Pull Request #11715 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Serializer] Use pack to install #11715

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[Serializer] Use pack to install
  • Loading branch information
TimoBakx committed Jun 10, 2019
commit f74653bd7f8e32839866ce6d3abeebb94d476c9f
9 changes: 8 additions & 1 deletion serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ install the serializer before using it:

.. code-block:: terminal

$ composer require symfony/serializer
$ composer require serializer

Using the Serializer Service
----------------------------
Expand Down Expand Up @@ -68,6 +68,13 @@ As well as the following normalizers:
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ArrayDenormalizer` to
denormalize arrays of objects using a format like `MyObject[]` (note the `[]` suffix)

.. note::

If you installed the serializer directly through `composer require symfony/serializer`,
the :class:`Symfony\\Component\\Serializer\\Normalizer\\ObjectNormalizer` will
not be available without `composer require symfony/property-access`.


Custom normalizers and/or encoders can also be loaded by tagging them as
:ref:`serializer.normalizer <reference-dic-tags-serializer-normalizer>` and
:ref:`serializer.encoder <reference-dic-tags-serializer-encoder>`. It's also
Expand Down
0