Moved all event-dispatching stuff to its own module

This commit is contained in:
Alejandro Celaya
2019-07-19 19:54:39 +02:00
parent bccc177414
commit d086131630
16 changed files with 77 additions and 46 deletions

View File

@@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
namespace Shlinkio\Shlink\EventDispatcher;
use Swoole\Http\Server as HttpServer;
return [
'dependencies' => [
'factories' => [
Async\TaskRunner::class => Async\TaskRunnerFactory::class,
],
'delegators' => [
HttpServer::class => [
Async\TaskRunnerDelegator::class,
],
],
],
];