Skip to content

Commit d701f50

Browse files
committed
minor #19013 Forgot imports (alexandre-castelain)
This PR was submitted for the 7.0 branch but it was merged into the 6.4 branch instead. Discussion ---------- Forgot imports This is just a small fix for the docs, 2 imports missing. Commits ------- 2da09d5 Forgot imports
2 parents fafd420 + 2da09d5 commit d701f50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

serializer/custom_normalizer.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ to customize the normalized data. To do that, leverage the ``ObjectNormalizer``:
1919

2020
use App\Entity\Topic;
2121
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
22+
use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface;
23+
use Symfony\Component\Serializer\Normalizer\NormalizerAwareTrait;
2224
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
2325
use Symfony\Component\Serializer\Normalizer\ObjectNormalizer;
2426

0 commit comments

Comments
 (0)