We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2e448a5 + 2edf7db commit 38e686fCopy full SHA for 38e686f
1 file changed
user_guide_src/source/general/modules.rst
@@ -32,8 +32,11 @@ directory in the main project root::
32
33
Open **app/Config/Autoload.php** and add the **Acme** namespace to the ``psr4`` array property::
34
35
- public $psr4 = [
36
- 'Acme' => ROOTPATH.'acme'
+ $psr4 = [
+ 'Config' => APPPATH . 'Config',
37
+ APP_NAMESPACE => APPPATH, // For custom namespace
38
+ 'App' => APPPATH, // To ensure filters, etc still found,
39
+ 'Acme' => ROOTPATH.'acme'
40
];
41
42
Now that this is setup we can access any file within the **acme** folder through the ``Acme`` namespace. This alone
0 commit comments