You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I use class GetSetMethodNormalizer or ObjectNormalizer method normalize for get array I catch Typed property Symfony\Component\Serializer\Normalizer\AbstractNormalizer::$serializer must not be accessed before initialization problem. Maybe I need put something in Normalizer construct?
How to reproduce
$normalizer = new ObjectNormalizer();
$data = $normalizer->normalize($entity);
$this->normalizer = new GetSetMethodNormalizer();
$data = $ $this->normalizer->normalize($entity);