-
Notifications
You must be signed in to change notification settings - Fork 102
Added save entity command class generation #463
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
Added save entity command class generation #463
Conversation
* | ||
* @return SaveEntityCommandFile | ||
*/ | ||
public static SaveEntityCommandFile getInstance() { |
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.
No singletons. And this is not actually a singleton 🤣
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.
Lets use just a constructor.
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.
Fixed, thank you!)
import org.jetbrains.annotations.NotNull; | ||
|
||
public enum PhpCoreType { | ||
EXCEPTION("Exception"); |
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.
Entire Enum for the only one constant?
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.
Removed, thank you!
…-phpstorm-plugin into entity-save-command-class-generation
…-phpstorm-plugin into entity-save-command-class-generation
Description (*)
Added save entity command service generation and covered with the test case.
Contribution checklist (*)