2017 © Pedro Peláez
 

library epa-plugins

Plugins for Epa

image

epa/epa-plugins

Plugins for Epa

  • Tuesday, December 16, 2014
  • by koenhoeymans
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

These are plugins to use with Epa., (*1)

Currently there is one plugin: MetaEventNamePlugin. This plugin can be used to name events based on the @event tag on a plugin doccomment:, (*2)

/**
 * @event MyCustomEventName
 */
public class MyPlugin implements \Epa\Api\Plugin
{}

This allows plugins to register handlers for the event MyCustomEventName instead of only the classname., (*3)

You can add the plugin using the Epa library as follows:, (*4)

$plugin = \EpaPlugins\MetaEventNamePluginFactory::create();
$eventDispatcher = \Epa\EventDispatcherFactory::create();
$eventDispatcher->addPlugin($plugin);

The Versions

16/12 2014

dev-master

9999999-dev

Plugins for Epa

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Koen Hoeymans

16/12 2014

0.2.1

0.2.1.0

Plugins for Epa

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Koen Hoeymans

16/12 2014

0.2.0

0.2.0.0

Plugins for Epa

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Koen Hoeymans

07/03 2014

0.1.0

0.1.0.0

Plugins for Epa

  Sources   Download

BSD-2-Clause

The Requires

 

The Development Requires

by Koen Hoeymans