yii2-gii
yii2-gii copied to clipboard
Fill in class and property documentation based on Database Comments
| Q | A |
|---|---|
| Is bugfix? | no |
| New feature? | yes |
| Breaks BC? | no |
| Tests pass? | yes |
| Fixed issues | #131, |
Depends on https://github.com/yiisoft/yii2/pull/13162 for table comments.
I'm not sure if there has to be an option to enable this. This is just for comments, and doesn't have an impact on functionality or code.
What has kept this pull request from being merged? (It seems that is has gotten conflicts in the meantime). Can this be accepted when the conflicts are resolved?
To recap, this doesn't change any code or changes the model in any way. It just makes sure that db comments are added to the phpdoc, so any IDE can use this to give additional information about the property or table object.
I have merged the property comment part, thank you! Keeping this open for the class comment when it is supported in the framework.