-
-
Notifications
You must be signed in to change notification settings - Fork 7
Autoloader #8
Comments
@dag-io please elaborate |
Right now we need to put all files in the specified directory and include them using a "require_once". In order to use it on existing project we would need a way break this limitation. I did not spent much time looking for, I guess it's about using an autoloader ? |
Yes, but the current assumption is that the tool is installed in the app it's used in |
no easy way to have it work from a globally installed version then? Couldn't it include the autoload/vendor.php if it exists? |
I could probably use Roave/BetterReflection for that. @asgrim is there a way to emulate autoloading, given a |
@Ocramius at the moment you can only use the |
Yes, but when running with a different autoloader (finalizer installed as
|
Not sure what the issue is here, but might I simply suggest a cli option with a path to autoloader? |
I'd rather not autoload anything at all, and scan arbitrary paths...
|
@Ocramius yeah, I expect you'd have to write a SourceLocator for it, but I can't imagine it'd be difficult; just not supported out the box |
Any chance to support an autoloader in the near future ?
The text was updated successfully, but these errors were encountered: