@@ -22,7 +22,7 @@ it in your configuration:
2222
2323 .. code-block :: yaml
2424
25- # config/packages/framework .yaml
25+ # config/packages/serializer .yaml
2626 framework :
2727 # ...
2828 serializer : { enable_annotations: true }
@@ -31,7 +31,7 @@ it in your configuration:
3131
3232 .. code-block :: xml
3333
34- <!-- config/packages/framework .xml -->
34+ <!-- config/packages/serializer .xml -->
3535 <?xml version =" 1.0" encoding =" UTF-8" ?>
3636 <container xmlns =" http://symfony.com/schema/dic/services"
3737 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -52,7 +52,7 @@ it in your configuration:
5252
5353 .. code-block :: php
5454
55- // config/packages/framework .php
55+ // config/packages/serializer .php
5656 $container->loadFromExtension('framework', array(
5757 // ...
5858 'serializer' => array(
@@ -150,15 +150,15 @@ with the following configuration:
150150
151151 .. code-block :: yaml
152152
153- # config/packages/framework .yaml
153+ # config/packages/serializer .yaml
154154 framework :
155155 # ...
156156 serializer :
157157 enable_annotations : true
158158
159159 .. code-block :: xml
160160
161- <!-- config/packages/framework .xml -->
161+ <!-- config/packages/serializer .xml -->
162162 <?xml version =" 1.0" encoding =" UTF-8" ?>
163163 <container xmlns =" http://symfony.com/schema/dic/services"
164164 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -176,7 +176,7 @@ with the following configuration:
176176
177177 .. code-block :: php
178178
179- // config/packages/framework .php
179+ // config/packages/serializer .php
180180 $container->loadFromExtension('framework', array(
181181 // ...
182182 'serializer' => array(
@@ -196,10 +196,10 @@ In addition to the ``@Groups`` annotation, the Serializer component also
196196supports Yaml or XML files. These files are automatically loaded when being
197197stored in one of the following locations:
198198
199- * The ``serialization.yml `` or ``serialization.xml `` file in
199+ * The ``serialization.yaml `` or ``serialization.xml `` file in
200200 the ``Resources/config/ `` directory of a bundle;
201- * All ``*.yml `` and ``*.xml `` files in the ``Resources/config/serialization/ ``
202- directory of a bundle.
201+ * All ``*.yaml `` and ``*.xml `` files in the ``Resources/config/serialization/ ``
202+ directory of a bundle and in the `` config/serializer/ `` directory of your project .
203203
204204.. _serializer-enabling-metadata-cache :
205205
0 commit comments