Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit fa4158a

Browse files
committed
[Docs] Fixes #61 - Check Documentation Tables
1 parent eed620c commit fa4158a

File tree

3 files changed

+124
-0
lines changed

3 files changed

+124
-0
lines changed

doc/book/zend.mvc.intro.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,12 @@ request, and should be used for lightweight tasks as well.
134134

135135
The three `autoload_*.php` files are not required, but recommended. They provide the following:
136136

137+
File | Description
138+
-------------------------|------------
139+
`autoload_classmap.php` | Should return an array classmap of class name/filename pairs (with the filenames resolved via the `__DIR__` magic constant).
140+
`autoload_function.php` | Should return a PHP callback that can be passed to `spl_autoload_register()`. Typically, this callback should utilize the map returned by `autoload_classmap.php.`
141+
`autoload_register.php` | should register a PHP callback (is typically returned by `autoload_function.php` with `spl_autoload_register()`.
142+
137143
The point of these three files is to provide reasonable default mechanisms for autoloading the
138144
classes contained in the module, thus providing a trivial way to consume the module without
139145
requiring `Zend\ModuleManager` (e.g., for use outside a ZF2 application).

0 commit comments

Comments
 (0)