Skip to content

Commit 3360630

Browse files
committed
Merge pull request #834 from diegoholiveira/fix/sf-serializer-docs
Improving the docs about JMSSerializar and SF Serializer
2 parents 22d6b2a + 984c479 commit 3360630

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Resources/doc/1-setting_up_the_bundle.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
1415
Simply 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
);

0 commit comments

Comments
 (0)