@@ -42,8 +42,10 @@ Configuration
4242Initial configuration is done in **app/Config/Autoload.php **. This file contains two primary
4343arrays: one for the classmap, and one for PSR-4 compatible namespaces.
4444
45+ .. _autoloader-namespaces :
46+
4547Namespaces
46- **********
48+ ==========
4749
4850The recommended method for organizing your classes is to create one or more namespaces for your
4951application's files. This is most important for any business-logic related classes, entity classes,
@@ -55,11 +57,19 @@ those classes can be found in:
5557The key of each row is the namespace itself. This does not need a trailing back slash.
5658The value is the location to the directory the classes can be found in.
5759
58- .. note :: You can check the namespace configuration by ``spark namespaces`` command:
60+ .. _confirming-namespaces :
61+
62+ Confirming Namespaces
63+ =====================
64+
65+ You can check the namespace configuration by ``spark namespaces `` command:
66+
67+ .. code-block :: console
5968
60- .. code-block :: console
69+ php spark namespaces
6170
62- php spark namespaces
71+ Application Namespace
72+ =====================
6373
6474By default, the application directory is namespace to the ``App `` namespace. You must namespace the controllers,
6575libraries, or models in the application directory, and they will be found under the ``App `` namespace.
@@ -77,7 +87,7 @@ You will need to modify any existing files that are referencing the current name
7787 namespace has changed.
7888
7989Classmap
80- ********
90+ ========
8191
8292The classmap is used extensively by CodeIgniter to eke the last ounces of performance out of the system
8393by not hitting the file-system with extra ``is_file() `` calls. You can use the classmap to link to
0 commit comments