-
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
feat: Added ablity to update Services Cache at runtime. #8894
Conversation
If it is not called, assertions may not work correctly.
See CLITest::testPromptInputZero().
Even if you rename the Controllers directory, you still are able to use auto routing with proper $defaultNamespace setting.
Since v4.5.0, you can define App and Config in composer.json.
fix: CLI::promptByMultipleKeys() and prompt()
docs: improve concepts/structure.rst
docs: remove outdated note in managing_apps.rst
docs: fix text decoration in autoloader.rst
chore: Bump to phpstan v1.11
Thank you for sending this PR! We expect the following in all Pull Requests (PRs).
Important We expect all code changes or bug-fixes to be accompanied by one or more tests added to our test suite to prove the code works. If pull requests do not comply with the above, they will likely be closed. Since we are a team of volunteers, we don't have any more time to work on the framework than you do. Please make it as painless for your contributions to be included as possible. See https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md |
… refenced method instead of giving example.
Do not include unrelated commits. |
Description
I need a different method to load Modules. I wanted to set it up so it was more database driven for enabling or disabling a module. This lead to problems with Services not being auto discovered by the buildServicesCache() function. As the autoloader doesn't know those files exist at the point it time it is called. So added a function that will update the service cache with and new Classes discovered since initial build.
Checklist: