You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextcloud-server/apps/files_external/3rdparty/aws-sdk-php/Symfony/Component/EventDispatcher
Johan Björk e0056c4a0d Upgrade AWS sdk to 2.7.5 12 years ago
..
Debug Upgrade AWS sdk to 2.7.5 12 years ago
DependencyInjection Update AWS sdk to 2.6.15 12 years ago
Tests Upgrade AWS sdk to 2.7.5 12 years ago
.gitignore Update AWS sdk to 2.6.15 12 years ago
CHANGELOG.md Update AWS sdk to 2.6.15 12 years ago
ContainerAwareEventDispatcher.php Update AWS sdk to 2.6.15 12 years ago
Event.php Update AWS sdk to 2.6.15 12 years ago
EventDispatcher.php Update AWS sdk to 2.6.15 12 years ago
EventDispatcherInterface.php Upgrade AWS sdk to 2.7.5 12 years ago
EventSubscriberInterface.php removed aws.phar and added extracted zip instead 13 years ago
GenericEvent.php Update AWS sdk to 2.6.15 12 years ago
ImmutableEventDispatcher.php removed aws.phar and added extracted zip instead 13 years ago
LICENSE Update AWS sdk to 2.6.15 12 years ago
README.md Upgrade AWS sdk to 2.7.5 12 years ago
composer.json Upgrade AWS sdk to 2.7.5 12 years ago
phpunit.xml.dist Update AWS sdk to 2.6.15 12 years ago

README.md

EventDispatcher Component

The Symfony2 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.phar install
$ phpunit