We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c63e52e commit 577087eCopy full SHA for 577087e
cookbook/serializer.rst
@@ -169,7 +169,7 @@ to your class and choose which groups to use when serializing::
169
$serializer = $this->get('serializer');
170
$json = $serializer->serialize(
171
$someObject,
172
- 'json', array('groups' => array('group1')
+ 'json', array('groups' => array('group1'))
173
);
174
175
.. _cookbook-serializer-enabling-metadata-cache:
0 commit comments