Skip to content

Commit

Permalink
Updated docs: new way of serializing initialValues
Browse files Browse the repository at this point in the history
  • Loading branch information
nacmartin committed Dec 15, 2017
1 parent b743012 commit 0056330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ This bundle registers a normalizer to serialize a `FormView` class into an array

```php
$serializer = $this->get('serializer');
$initialValues = $serializer->normalize($form->createView()),
$initialValues = $serializer->normalize($form),
```

## Serializing errors
Expand Down

0 comments on commit 0056330

Please sign in to comment.