Skip to content

Commit

Permalink
Fix readme (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgarlag authored and Toflar committed Jul 11, 2019
1 parent 19cec16 commit f566d39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ As an example we use the Symfony `DateTimeNormalizer` service so we do have supp
```yaml
# Add DateTime Normalizer to Dunglas' Doctrine JSON ODM Bundle
dunglas_doctrine_json_odm.serializer:
class: Symfony\Component\Serializer\Serializer
class: Dunglas\DoctrineJsonOdm\Serializer
arguments:
- ['@serializer.normalizer.datetime', '@dunglas_doctrine_json_odm.normalizer.object']
- ['@serializer.denormalizer.array', '@serializer.normalizer.datetime', '@serializer.normalizer.object']
- ['@serializer.encoder.json']
public: true
```
Expand Down

0 comments on commit f566d39

Please sign in to comment.