abacaphiliac/zend-eventmanager-pluginmanager
Composer 安装命令:
composer require abacaphiliac/zend-eventmanager-pluginmanager
包简介
A ZF2 Plugin Manager for ZF2 Event Managers
README 文档
README
abacaphiliac/zend-eventmanager-pluginmanager
A ZF2 Plugin Manager for ZF2 Event Managers.
Installation
composer require abacaphiliac/zend-eventmanager-pluginmanager
Usage
- add
Abacaphiliac\Zend\EventManager\PluginManagermodule to your ZF2 application module config. - create a service-manager config block with key
event_managersin your application config. - register a named event manager in the
event_managersconfig, viainvokables,factories, etc. - get your named event manager from the service locator!
$eventManager = $serviceLocator->get('EventManagers')->get('MyNamedEventManager');
Dependencies
ZF2 EventManager, ModuleManager, MVC, and ServiceManager.
dev deployments include the entire framework because the Module collaboration test boots the ModuleManager, which has many hidden dependencies in most of the ZF tags.
See composer.json.
Contributing
composer install && vendor/bin/phing
This library attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch via pull request.
统计信息
- 总下载量: 44
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-02