How to list all defined serializer groups, and related settings?

How can I retrieve a list of all defined Serializer groups (and related settings, like “serialized_name” or “max_depth”)?

These can be defined via annotations, XML, or YAML; but it’s rather clumsy having to check all the different files; I’d like to produce a listing of all configured settings.

SerializerInterface nor NormalizerInterface have any method that looks helpful.

How can I achieve this?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *