-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Access levels of fields in generated classes #49
Comments
Hmm, would it not be possible to use the getters & setters? I don’t mind the switch, but I’m curious what the need is. Mind posting an example of what you’d like to do? |
Of course. My use case is implementing FHIR concepts as Entities in Doctrine/Symfony, and in many cases, Symfony spits at you when it sees private fields in its Doctrine entities. Having them as "protected" solves a lot of problems.I want to extend existing classes generated by you and create my entities. Thanks. |
…her than private, and type documentation blocks with "@" symbols are escaped
Looks good. Thanks. |
This generator creates "private" fields for classes generated. Would it be possible to switch this to "protected", as it is impossible to extend the generated classes otherwise? Thanks.
The text was updated successfully, but these errors were encountered: