Skip to content

Commit 4bdbfb8

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: add missing use statement
2 parents 641c773 + 8767ab2 commit 4bdbfb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/serializer.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ Then, create your groups definition:
382382
383383
You are now able to serialize only attributes in the groups you want::
384384

385+
use Acme\MyObj;
385386
use Symfony\Component\Serializer\Normalizer\ObjectNormalizer;
386387
use Symfony\Component\Serializer\Serializer;
387388

0 commit comments

Comments
 (0)