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

Load a class from a file template #79

Closed
fnash opened this issue Mar 8, 2021 · 1 comment
Closed

Load a class from a file template #79

fnash opened this issue Mar 8, 2021 · 1 comment

Comments

@fnash
Copy link

fnash commented Mar 8, 2021

Hello
Thank you for this lib and its well designed api.

Is it possible to load a class from a file?

This could avoid loading a class in the current namespace to use reflection.
It could make php tools based on this library possible. Like refactoring tool.
The usecase here is to manipulate files wherever they are, independently from the current execution context.

Something like Factory::fromClassFile

Thanks

@dg
Copy link
Member

dg commented Mar 11, 2021

Yeah, this could be implemented. I would appreciate it if you could support this project.

@dg dg closed this as completed Sep 16, 2021
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