Download the PHP package kovalevsky-projects/event-dispatcher without Composer
On this page you can find all versions of the php package kovalevsky-projects/event-dispatcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kovalevsky-projects/event-dispatcher
More information about kovalevsky-projects/event-dispatcher
Files in kovalevsky-projects/event-dispatcher
Download kovalevsky-projects/event-dispatcher
More information about kovalevsky-projects/event-dispatcher
Files in kovalevsky-projects/event-dispatcher
Vendor kovalevsky-projects
Package event-dispatcher
Short Description World's simplest event dispatcher
License MIT
Package event-dispatcher
Short Description World's simplest event dispatcher
License MIT
Please rate this library. Is it a good library?
Informations about the package event-dispatcher
EventDispatcher
Simple PHP library that allow you to dispatch events in your system.
Installation
Install it via Composer ( on Packagist)
Usage
Here's the simple example of the usage:
Also you can use event parameters. It can be single parameter or an array of the parameters:
API
Trigger
- Dispatches the specified event.
You can specify single parameter or an array of parameters as second argument:
On
- Adds the action for the event.
Off
- Removes the action.
Please note: If your are using the closures, then you can't remove the action using method.
Bind
- Attaches the action for the more than one event.
Unbind
- Removes all previously attached actions.
Has
- Checks whether the specified event has action.
All versions of event-dispatcher with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.3
The package kovalevsky-projects/event-dispatcher contains the following files
Loading the files please wait ....