weew / eventer-container-aware
Container integration for the weew/eventer package.
Installs: 341
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/weew/eventer-container-aware
Requires
- weew/container: ^1.0.0
- weew/eventer: ^2.0
Requires (Dev)
- phpunit/phpunit: ^4.7
- satooshi/php-coveralls: ^0.6.1
README
Table of contents
Installation
composer require weew/eventer-container-aware
Introduction
This package integrates weew/eventer with weew/container and allows subscribers to rely on dependency injection and sharing of data trough the container.
Usage
Simply create a new instance of the container aware Eventer
and pass in an instance of IContainer
.
$kernel = new Weew\Events\ContainerAware\Eventer(new Container());