-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
[WIP] Refactoring #16
Conversation
rustamwin
commented
Jan 27, 2020
Q | A |
---|---|
Is bugfix? | ✔️ |
New feature? | ✔️ |
Breaks BC? | ✔️ |
Tests pass? | ? |
Fixed issues | - |
|
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.
Too raw. Are you want to develop iteratively?
This is part of the development, opinions are needed for initial development. The rest in a separate PRs (tests, other generators, UI, etc..) |
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.
Folders names should be singular instead of plural
* @throws NotFoundException | ||
* @throws GeneratorNotFoundException | ||
*/ | ||
public function getGenerator(string $name): 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.
Can we pre-cache already initialized generators into private property (e.g. $generatorsInstances
)?
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.
Let's do it in the next PRs
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.
It's a good direction overall. Do you want to continue in the branch or merge and then do separate pull requests?
There are some improvements, then I do a separate PRs |
Ready. |
Merged. |