From e84000da7dc8e6d9ca87f2c8da6480c56c896e06 Mon Sep 17 00:00:00 2001 From: Maxime Steinhausser Date: Thu, 13 Oct 2022 15:05:21 +0200 Subject: [PATCH] [Serializer] Remove note about installing the FrameworkExtraBundle for using annotations --- serializer.rst | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/serializer.rst b/serializer.rst index 662c04d05c3..bf517a48a95 100644 --- a/serializer.rst +++ b/serializer.rst @@ -84,13 +84,7 @@ possible to set the priority of the tag in order to decide the matching order. Using Serialization Groups Annotations -------------------------------------- -To use annotations, first add support for them via the SensioFrameworkExtraBundle: - -.. code-block:: terminal - - $ composer require sensio/framework-extra-bundle - -Next, add the :ref:`@Groups annotations ` +You can add the :ref:`@Groups annotations ` to your class:: // src/Entity/Product.php