By browsing this website you accept that we set Cookies on your device in order to serve you relevant ads and a better user experience. Close

Nachricht

« Zurück

Added a new class PHP Event Mediator

From: PHP Classes Newclasses <list-newclasses@phpclasses.org>, sent: 09:34:16 - 30.03.2016

Added a new class: PHP Event Mediator - PHP Classes

Added a new class: PHP Event Mediator

Meet JIRA Software

JIRA is now redesigned with your software team in mind. Say hello to JIRA Software.
Rofl you are getting this message as free service for being a user of the PHP Classes site to which you registered voluntarily using the email address rofldigger@getsend.xyz. If you wish to unsubscribe go to the unsubscribe page.

  • Class:

  • Class PHP Event Mediator
    This class support forum This class support forum
  • Short description:

  • Emit and listen to events using a mediator object
  • Groups:

  • PHP 5
    Libraries
    Design Patterns
    Traits
  • Supplied by:

  • Michael Cummings
  • Detailed description:

  • This package allows to emit and listen to events using a mediator object.

    It provides a class that implements the mediator design pattern to perform operations with objects of classes that abstract emitted events and listeners that process those events when they happened.

    Currently it can add a listener to a given event by name, or add a subscriber, get the listeners a given event name, check if a given event name has listeners, remove a listener to a given event, remove a subscriber and trigger a event.

If you are not interested in receiving any more messages like this one, go to the unsubscribe page .

If want to switch the message format between text and HTML visit the options page and change it in the E-mail alerts and newsletters tab.