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