2017 © Pedro Peláez
 

library event

Event dispatching with DI resolution

image

jnjxp/event

Event dispatching with DI resolution

  • Monday, October 10, 2016
  • by jnj
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

jnjxp.event

Event dispatching with DI resolution. Basically Evenement that can resolve listeners from DI container., (*1)

![Latest version][ico-version] Build Status ![Coverage Status][ico-scrutinizer] Quality Score, (*2)

See: Evenement and Aura\DI provider, (*3)

<?php

$resolver = function ($spec) use ($di) {
    return $di->get($spec);
};

$emitter = new Jnjxp\Event\Emitter($resolver);

$emitter->on('foo', Listener::class);

$emitter->emit('foo', $params);

The Versions

10/10 2016

dev-develop

dev-develop https://github.com/fusible/fusible.event-provider

Event dispatching with DI resolution

  Sources   Download

MIT

by jake johns

10/10 2016

dev-master

9999999-dev

Event dispatching with DI resolution

  Sources   Download

MIT

by jake johns

10/10 2016

0.1.0

0.1.0.0

Event dispatching with DI resolution

  Sources   Download

MIT

by jake johns