File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ Step 1: Setting up the bundle
77
88> This bundle recommends using [ JMSSerializer] ( https://github.com/schmittjoh/serializer ) which is
99> integrated into Symfony2 via [ JMSSerializerBundle] ( https://github.com/schmittjoh/JMSSerializerBundle ) .
10- > Please follow the instructions of the bundle to add it to your composer.json and how to set it up.
11- > If you do not add a dependency to JMSSerializerBundle, you will need to manually setup an alternative
12- > service and configure the Bundle to use it via the `` service `` section in the app config
10+ > If you want to use JMSSerializer, take a look into the instructions of the bundle to
11+ > install it and set it up. You can also use [ Symfony Serializer] ( https://github.com/symfony/Serializer ) ,
12+ > but if this case, you need to manually set it up and configure FOSRestBundle to use it
13+ > via the `` service `` section in the app config
1314
1415Simply run assuming you have installed composer.phar or composer binary:
1516
@@ -31,8 +32,7 @@ public function registerBundles()
3132 // ...
3233 new FOS\RestBundle\FOSRestBundle(),
3334
34- // if you installed FOSRestBundle using composer you shouldn't forget
35- // also registering JMSSerializerBundle.
35+ // if you choose to use JMSSerializer, make sure that it is registered in your application
3636
3737 // new JMS\SerializerBundle\JMSSerializerBundle(),
3838 );
You can’t perform that action at this time.
0 commit comments