You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: