weew/eventer-container-aware

Container integration for the weew/eventer package.

v2.2.2 2016-07-21 13:05 UTC

This package is not auto-updated.

Last update: 2024-11-19 22:09:05 UTC


README

Build Status Code Quality Test Coverage Version Licence

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());