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

Commit 09d945b

Browse files
committed
Merge pull request #67 from froschdesign/hotfix/docs/61
[Docs] Fixes #61 - Check Documentation Tables
2 parents d039149 + fa4158a commit 09d945b

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
@@ -138,6 +138,12 @@ request, and should be used for lightweight tasks as well.
138138

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

141+
File | Description
142+
-------------------------|------------
143+
`autoload_classmap.php` | Should return an array classmap of class name/filename pairs (with the filenames resolved via the `__DIR__` magic constant).
144+
`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.`
145+
`autoload_register.php` | should register a PHP callback (is typically returned by `autoload_function.php` with `spl_autoload_register()`.
146+
141147
The point of these three files is to provide reasonable default mechanisms for autoloading the
142148
classes contained in the module, thus providing a trivial way to consume the module without
143149
requiring `Zend\ModuleManager` (e.g., for use outside a ZF2 application).

0 commit comments

Comments
 (0)