Skip to content
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

How to remove traits from class parsed from reflection? #53

Closed
6562680 opened this issue Feb 5, 2020 · 2 comments
Closed

How to remove traits from class parsed from reflection? #53

6562680 opened this issue Feb 5, 2020 · 2 comments

Comments

@6562680
Copy link

6562680 commented Feb 5, 2020

This is damn awesome work with this library, you saved my life.

Not sure i would need it, but really - there's no deleteTrait() method inside ClassType, currently i made some static facades for my services, and not sure, what if i add some traits to my services - will it be inside created class.

Anyway, THANK YOU.

--------------^ Click "Preview" for a nicer view!
We primarily use GitHub as an issue tracker; for usage and support questions, please check out these resources below. Thanks! 😁.

@dg dg closed this as completed in 8fe7e69 Feb 9, 2020
@dg
Copy link
Member

dg commented Feb 9, 2020

I added removeTrait()

@6562680
Copy link
Author

6562680 commented Aug 17, 2022

Working.

Also its very hard for me to getMethods() and detect what methods was inherited from trait, and what from the class.

Ah, sorry, missed materializeTraits boolean flag. Solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants