@@ -11,9 +11,9 @@ language files, etc. Modules may contain as few, or as many, of these as you lik
1111 :local:
1212 :depth: 2
1313
14- ==========
14+ **********
1515Namespaces
16- ==========
16+ **********
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
@@ -58,9 +58,9 @@ Of course, there is nothing forcing you to use this exact structure, and you sho
5858best suits your module, leaving out directories you don't need, creating new directories for Entities, Interfaces,
5959or Repositories, etc.
6060
61- ===========================
61+ ***************************
6262Autoloading Non-class Files
63- ===========================
63+ ***************************
6464
6565More often than not that your module will not contain only PHP classes but also others like procedural
6666functions, bootstrapping files, module constants files, etc. which are not normally loaded the way classes
@@ -73,9 +73,9 @@ your classes. All we need to do is provide the list of paths to those files and
7373
7474.. literalinclude :: modules/002.php
7575
76- ==============
76+ **************
7777Auto-Discovery
78- ==============
78+ **************
7979
8080Many times, you will need to specify the full namespace to files you want to include, but CodeIgniter can be
8181configured to make integrating modules into your applications simpler by automatically discovering many different
@@ -134,9 +134,9 @@ by editing the ``$discoverInComposer`` variable in **app/Config/Modules.php**:
134134
135135.. literalinclude :: modules/004.php
136136
137- ==================
137+ ******************
138138Working with Files
139- ==================
139+ ******************
140140
141141This section will take a look at each of the file types (controllers, views, language files, etc) and how they can
142142be used within the module. Some of this information is described in more detail in the relevant location of the user
0 commit comments