-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generator interface implementation #294
Generator interface implementation #294
Conversation
@@ -17,7 +17,7 @@ | |||
* | |||
* @package Drupal\Console\Core\Generator | |||
*/ | |||
abstract class Generator | |||
abstract class Generator implements GeneratorInterface |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LOBsTerr Thanks for the PR.
By merging this change, we are going to break custom generators at custom and contrib modules.
What chould be our choices?
- Make not an announcement about this change and make it mandatory for 2.0.
- Show a message when excuting DrupalConsole providing instruction about what to do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmolivas I prefer get a feedback as soon as possible. Plus we give users a chance already right use it, but if you prefer to keep it until 2.0 for me it is also ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmolivas I changed my mind, it is better to give sometime for users. Let' make our users happy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will merge this PR and rollback this line to
abstract class Generator
Then update the docs to suggest people write generator classes as:
class myGenerator extends Generator implements GeneratorInterface
@LOBsTerr Thanks for your contribution, your PR was merged. This will be included in the next release. |
No description provided.