shlink/module/Common/config/task_runner.config.php

22 lines
425 B
PHP
Raw Normal View History

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