Load files using wildcards #11504
binaryfire
started this conversation in
General
Replies: 1 comment
-
The list of files is hardcoded when the autoloader gets dumped though so newly added files would not be autoloaded until you dump again, and so it might be more confusing if we added this. As there is ongoing work to perhaps finally get function autoloading in PHP core, I think that'd be a better outcome if we had psr-4 style support for functions instead of auto-including hundreds of files. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all
Any thoughts on adding support for loading files using wildcards? Eg:
This would really simplify things for modular codebases.
Beta Was this translation helpful? Give feedback.
All reactions