File tree Expand file tree Collapse file tree
user_guide_src/source/general Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Namespaces
1717
1818The core element of the modules functionality comes from the :doc: `PSR-4 compatible autoloading <../concepts/autoloader >`
1919that CodeIgniter uses. While any code can use the PSR-4 autoloader and namespaces, the primary way to take full advantage of
20- modules is to namespace your code and add it to **app/Config/Autoload.php **, in the ``psr4 `` section .
20+ modules is to namespace your code and add it to **app/Config/Autoload.php **, in the ``$ psr4 `` property .
2121
2222For example, let's say we want to keep a simple blog module that we can re-use between applications. We might create
2323folder with our company name, Acme, to store all of our modules within. We will put it right alongside our **app **
@@ -30,7 +30,7 @@ directory in the main project root::
3030 tests/
3131 writable/
3232
33- Open **app/Config/Autoload.php ** and add the ``Acme\Blog `` namespace to the ``psr4 `` array property:
33+ Open **app/Config/Autoload.php ** and add the ``Acme\Blog `` namespace to the ``$ psr4 `` array property:
3434
3535.. literalinclude :: modules/001.php
3636
You can’t perform that action at this time.
0 commit comments