Skip to content

Commit a2dc262

Browse files
committed
Removed event emitter
1 parent 374ee55 commit a2dc262

File tree

3 files changed

+35
-83
lines changed

3 files changed

+35
-83
lines changed

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"require": {
1111
"php": "^7.0",
1212
"api-clients/command-bus": "^2.0",
13-
"api-clients/events": "dev-master",
1413
"api-clients/hydrator": "dev-master",
1514
"api-clients/service": "dev-master",
1615
"api-clients/transport": "dev-master",

composer.lock

Lines changed: 35 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Factory.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
use DI\ContainerBuilder;
1212
use Interop\Container\ContainerInterface;
1313
use InvalidArgumentException;
14-
use League\Event\Emitter;
15-
use League\Event\EmitterInterface;
1614
use React\EventLoop\LoopInterface;
1715

1816
final class Factory
@@ -31,7 +29,6 @@ private static function createContainer(LoopInterface $loop, array $options): Co
3129
$container = new ContainerBuilder();
3230

3331
$container->addDefinitions([
34-
EmitterInterface::class => new Emitter(),
3532
LoopInterface::class => $loop,
3633
TransportClient::class => function (ContainerInterface $container, LoopInterface $loop) use ($options) {
3734
return self::createTransport($container, $loop, $options);

0 commit comments

Comments
 (0)