Skip to content

Commit 8767ab2

Browse files
committed
minor #20165 [Serializer] add missing use statement (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- [Serializer] add missing use statement Commits ------- d0f46a2 add missing use statement
2 parents 728f2ed + d0f46a2 commit 8767ab2

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
@@ -388,6 +388,7 @@ Then, create your groups definition:
388388
389389
You are now able to serialize only attributes in the groups you want::
390390

391+
use Acme\MyObj;
391392
use Symfony\Component\Serializer\Normalizer\ObjectNormalizer;
392393
use Symfony\Component\Serializer\Serializer;
393394

0 commit comments

Comments
 (0)