php bin/console make:twig-extension
Creates a new Twig extension class
Usage
make:twig-extension [<name>]
Arguments
name The name of the Twig extension class (e.g. <fg=yellow>AppExtension</>)
Help
The make:twig-extension command generates a new twig extension class.
php bin/console make:twig-extension AppExtension
If the argument is missing, the command will ask for the class name interactively.