I see we have a GeneratorInterface but we don't use it, at least in Generator class.
I am creating a command which uses Generator feature, the generate:command by defualt set to use \Drupal\Console\Core\Generator\GeneratorInterface as paramater signature of my Command class. I get a TypeError like: MyGeneratorClass must implement interface GeneratorInterface.
I fix this error whe i implements GeneratorInterface in my CustomGenerator. I see that generate:command generates this by default. But still should we implement this interface in the base Generator class instead?
I see we have a GeneratorInterface but we don't use it, at least in Generator class.
I am creating a command which uses Generator feature, the generate:command by defualt set to use \Drupal\Console\Core\Generator\GeneratorInterface as paramater signature of my Command class. I get a TypeError like: MyGeneratorClass must implement interface GeneratorInterface.