Skip to content

Commit

Permalink
Merge branch 'release/v1.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Invis1ble committed Jun 3, 2024
2 parents d1fa5b1 + fa3473d commit f81c946
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ Symfony Serializer Extension
[![Packagist](https://img.shields.io/packagist/v/Invis1ble/symfony-serializer-extension.svg)](https://packagist.org/packages/Invis1ble/symfony-serializer-extension)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)

A useful set of additional (de)normalizers for [symfony/serializer](https://github.com/symfony/serializer)
A useful set of additional (de)normalizers for [symfony/serializer](https://github.com/symfony/serializer):

- `UriNormalizer` for normalizing objects implementing `Psr\Http\Message\UriInterface`

Installation
------------
Expand Down Expand Up @@ -51,7 +53,7 @@ use Symfony\Component\Serializer\Encoder\XmlEncoder;
use Symfony\Component\Serializer\Serializer;

$encoders = [new XmlEncoder(), new JsonEncoder()];
$normalizers = [new UriNormalizer()];
$normalizers = [new UriNormalizer($uriFactory)];

$serializer = new Serializer($normalizers, $encoders);
```
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0",
"version": "1.0.1",
"name": "invis1ble/symfony-serializer-extension",
"type": "library",
"description": "Additional useful (de)normalizers for symfony/serializer .",
Expand Down

0 comments on commit f81c946

Please sign in to comment.