php bin/console make:serializer:encoder

Create a new serializer encoder class

Usage

make:serializer:encoder [<name> [<format>]]

Arguments

name     Choose a class name for your encoder (e.g. <fg=yellow>YamlEncoder</>) 
format   Pick your format name (e.g. <fg=yellow>yaml</>) 

Help

The make:serializer:encoder command generates a new serializer encoder class.

php bin/console make:serializer:encoder YamlEncoder

If the argument is missing, the command will ask for the class name interactively.