zendframework/zf2 — pull request #1695 by EvanDotPro (2012-07-01 17:08:00+00:00)
Title: [WIP] ServiceManager plugin fixes

This pull requests unifies the way the various service managers are configured in ZF2.

- view helper manager
- controller plugin manager
- controller loader
- main service manager

The following top level config keys are available with this PR: `controllers`, 'view_helpers`, `controller_plugins`, `service_manager`.

Each of them take an array with the following keys: 'allow_override', 'invokables', 'factories', 'initializers', 'aliases', 'shared', 'abstract_factories'.

Additionally you can return these same keys from new Module class methods.

TODO: Unit testing, docs.