mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-31 13:54:55 +03:00
26 lines
753 B
PHP
26 lines
753 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink;
|
|
|
|
use Phly\EventDispatcher as Phly;
|
|
use Psr\EventDispatcher as Psr;
|
|
use Zend\ServiceManager\AbstractFactory\ConfigAbstractFactory;
|
|
|
|
return [
|
|
|
|
'dependencies' => [
|
|
'factories' => [
|
|
Common\EventDispatcher\SwooleEventDispatcher::class => ConfigAbstractFactory::class,
|
|
Psr\ListenerProviderInterface::class => Common\EventDispatcher\ListenerProviderFactory::class,
|
|
],
|
|
'aliases' => [
|
|
Psr\EventDispatcherInterface::class => Common\EventDispatcher\SwooleEventDispatcher::class,
|
|
],
|
|
],
|
|
|
|
ConfigAbstractFactory::class => [
|
|
Common\EventDispatcher\SwooleEventDispatcher::class => [Phly\EventDispatcher::class],
|
|
],
|
|
|
|
];
|