Skip to content

Commit

Permalink
minor #5075 Removed an admonition that is no longer true for Symfony …
Browse files Browse the repository at this point in the history
…2.6+ (javiereguiluz)

This PR was merged into the 2.6 branch.

Discussion
----------

Removed an admonition that is no longer true for Symfony 2.6+

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.6+
| Fixed tickets | #5069

In Symfony 2.6 and newer, circular references are no longer a problem, as explained in http://symfony.com/doc/current/components/serializer.html#handling-circular-references

Commits
-------

5b527ae Removed an admonition that is no longer true for Symfony 2.6+
  • Loading branch information
weaverryan committed Mar 14, 2015
2 parents 236797e + 5b527ae commit 33232a8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cookbook/serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,4 @@ Here is an example on how to load the
$definition->addTag('serializer.normalizer');
$container->setDefinition('get_set_method_normalizer', $definition);
.. note::

The :class:`Symfony\\Component\\Serializer\\Normalizer\\GetSetMethodNormalizer`
is broken by design. As soon as you have a circular object graph, an
infinite loop is created when calling the getters. You're encouraged
to add your own normalizers that fit your use-case.

.. _JMSSerializerBundle: http://jmsyst.com/bundles/JMSSerializerBundle

0 comments on commit 33232a8

Please sign in to comment.