Skip to content

Commit d0f46a2

Browse files
committed
add missing use statement
1 parent 3362875 commit d0f46a2

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)