Console CommandΒΆ

This bundle provides a console command useful for generate class metadata and serializer classes manually.

$ bin/console serializer:generate-classes

Note

You can see the list of generated classes by adding the -v option on the command above.

Tip

If your application is configured to never generate serializer classes automatically (best for production), add this command to your continuous deploy tool to generate the classes before install your application in production.