Skip to content

Commit 76f2c79

Browse files
committed
minor #17346 [Serializer] Remove note about installing the FrameworkExtraBundle for using annotations (ogizanagi)
This PR was merged into the 4.4 branch. Discussion ---------- [Serializer] Remove note about installing the FrameworkExtraBundle for using annotations The FrameworkExtraBundle was never required to use Serializer's annotations ; the loader is part of the component (but still requires doctrine annotations of course). Commits ------- e84000d [Serializer] Remove note about installing the FrameworkExtraBundle for using annotations
2 parents 9881782 + e84000d commit 76f2c79

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

serializer.rst

+1-7
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,7 @@ possible to set the priority of the tag in order to decide the matching order.
8484
Using Serialization Groups Annotations
8585
--------------------------------------
8686

87-
To use annotations, first add support for them via the SensioFrameworkExtraBundle:
88-
89-
.. code-block:: terminal
90-
91-
$ composer require sensio/framework-extra-bundle
92-
93-
Next, add the :ref:`@Groups annotations <component-serializer-attributes-groups-annotations>`
87+
You can add the :ref:`@Groups annotations <component-serializer-attributes-groups-annotations>`
9488
to your class::
9589

9690
// src/Entity/Product.php

0 commit comments

Comments
 (0)