Skip to content

weew/eventer-container-aware

Repository files navigation

Events container integration

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

About

Container integration for the weew/eventer package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages