Bachir Soussi Chiadmi ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
..
Debug ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
DependencyInjection ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
Tests ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
CHANGELOG.md ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
ContainerAwareEventDispatcher.php ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
Event.php ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
EventDispatcher.php ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
EventDispatcherInterface.php ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
EventSubscriberInterface.php ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
GenericEvent.php ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
ImmutableEventDispatcher.php ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
LICENSE ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
README.md ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
composer.json ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos
phpunit.xml.dist ad38015ea9 first commit : grave core and admin plugin %!s(int64=9) %!d(string=hai) anos

README.md

EventDispatcher Component

The Symfony EventDispatcher component implements the Mediator pattern in a simple and effective way to make your projects truly extensible.

use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\EventDispatcher\Event;

$dispatcher = new EventDispatcher();

$dispatcher->addListener('event_name', function (Event $event) {
    // ...
});

$dispatcher->dispatch('event_name');

Resources

You can run the unit tests with the following command:

$ cd path/to/Symfony/Component/EventDispatcher/
$ composer install
$ phpunit