-
Notifications
You must be signed in to change notification settings - Fork 8
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
Filesystem/CascadingFilesystem #5
Comments
You can pass an in-memory cache called
Base paths were intended to be set once on construction and then not changed again which is why
I changed it to not list sub directories because that's completely unnecessary and inefficient; if you want a sub directory's contents, then execute the function again. However, a new function called
The load method only exists to make the tests easier to write, it's not really intended for use by users. The method Kohana::load() should still exist after the cascading filesystem is implemented anyway. Thanks for the review, it has given me a few ideas for improvements. |
@WinterSilence I don't think it's helpful to have these all in one thread. Re 1. Optional dependencies are bad. They complicate dependent-class logic by forcing everything to be wrapped in conditionals eg Re 5. Can you create separate issues/PRs for |
Oops overlapped with @lenton |
agree
I do not understand why need create separate method, why not write
Easier to make a recursive method than every time a recursive call.
Not a suitable place for the method |
Fixes:
__construct(array $base_paths, Cache $cache = null)
The text was updated successfully, but these errors were encountered: