-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Integrates Autoloader and FileLocator #1562
Conversation
22cfa20
to
958ff8e
Compare
…der and not any other string part - checking the full filepath
It looks like this PR got away on you a bit... it includes
Is this all part of autoload/filelocator enhancement? There's a lot more here than is mentioned in 1552! |
No. The Logger is not related. But PhpStorm highlighted the constructor type hint error when I was in the Services, then I did. |
This looks good to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep - no problems with this, just a few questions to understand.
} | ||
|
||
return new \CodeIgniter\Autoloader\FileLocator(new \Config\Autoload()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To solve issue 1552, it all started in this line. Using a new \Config\Autoload()
it was not possible to dynamically use Autoloader namespaces.
@jim-parry Yes. I believe that is correct. |
Description
Fixes #1552
Checklist: