Closed
Description
I add a namespace
(Services::autoloader()->addNamespace()
) and expect the FileLocator class
to look for my class also in the added namespace, but this does not happen.
Example:
In my controller
Services::autoloader()->addNamespace('MyPlugin', APPPATH . 'Plugins/MyPlugin/');
Next, I try to access the language file
Lang('MyPlugin.title')
I expect the Language class
will also load the file along the way
APPPATH . 'Plugins/MyPlugin/Language/{locale}/MyPlugin.php
but this is not happening
CodeIgniter 4 version
CodeIgniter 4.0.0 alpha 2
Metadata
Metadata
Assignees
Labels
No labels
Activity