File tree Expand file tree Collapse file tree
user_guide_src/source/outgoing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,9 +107,9 @@ You can store views under a **View** directory that is namespaced, and load that
107107PHP does not support loading non-class files from a namespace, CodeIgniter provides this feature to make it possible
108108to package your views together in a module-like fashion for easy re-use or distribution.
109109
110- If you have ``Blog `` directory that has a PSR-4 mapping set up in the :doc: `Autoloader </concepts/autoloader >` living
110+ If you have ``example/blog `` directory that has a PSR-4 mapping set up in the :doc: `Autoloader </concepts/autoloader >` living
111111under the namespace ``Example\Blog ``, you could retrieve view files as if they were namespaced also. Following this
112- example, you could load the **blog_view.php ** file from **Blog /Views ** by prepending the namespace to the view name::
112+ example, you could load the **blog_view.php ** file from **example/blog /Views ** by prepending the namespace to the view name::
113113
114114 echo view('Example\Blog\Views\blog_view');
115115
You can’t perform that action at this time.
0 commit comments