-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Proposal: Adding previously created objects to existing ones #35
Comments
dg
added a commit
that referenced
this issue
Aug 6, 2018
dg
added a commit
that referenced
this issue
Aug 6, 2018
dg
added a commit
that referenced
this issue
Aug 6, 2018
dg
added a commit
that referenced
this issue
Aug 6, 2018
dg
added a commit
that referenced
this issue
Aug 9, 2018
dg
added a commit
that referenced
this issue
Aug 9, 2018
dg
added a commit
that referenced
this issue
Aug 9, 2018
dg
added a commit
that referenced
this issue
Aug 29, 2018
dg
added a commit
that referenced
this issue
Aug 29, 2018
dg
added a commit
that referenced
this issue
Aug 29, 2018
dg
added a commit
that referenced
this issue
Aug 29, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there,
I currently use this awesome library to regenerate existing classes with some modifications.
For this reason I'm often forced to to something like this:
It would be really nice if it would be possible to directly add existing
Method
orProperty
instances to anClassType
instance, instead of using this workaround. Currently it's only possible to create new methods or properties through their respectiveadd...()
methods as far as I know.I imagine something like this:
Even worse is the process of adding
ClassType
objects to aPhpFile
. For that purpose I had to write a helper method looking like this:In this case, it would be even more helpful to add the class with a one-liner.
Let me know what you think about my proposal.
Greetings, MCStreetguy
The text was updated successfully, but these errors were encountered: