zendframework/zf2-documentation — pull request #376 by robertbasic (2012-10-09 12:06:21+00:00)
Title: Partially fix/improve module manager docs

Hello!

Just don't have enough brain power any more to fix the ModuleManager documentation completely. Sorry.

Two things left to do, according to Evan's notes:

- Shared config key added under http://zf2.readthedocs.org/en/latest/modules/zend.module-manager.module-manager.html (see shared services on http://blog.evan.pro/introduction-to-the-zend-framework-2-servicemanager for explanation)
- Explanation that service configs which are just arrays of scalars should go into the config arrays under their config key ('services', 'view_helpers', 'controllers', 'controller_plugins' returned by getConfig(), but if you have any non-scalar (like closures for factories) it should go in the correct module method (getServiceConfig(), getViewHeleprConfig(), getControllerConfig(), etc).