mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-18 13:13:33 -06:00
28 lines
674 B
PHP
28 lines
674 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\Core;
|
|
|
|
use Shlinkio\Shlink\Common\IpGeolocation\IpLocationResolverInterface;
|
|
use Zend\ServiceManager\AbstractFactory\ConfigAbstractFactory;
|
|
|
|
return [
|
|
|
|
'events' => [
|
|
EventDispatcher\ShortUrlVisited::class => [
|
|
EventDispatcher\LocateShortUrlVisit::class,
|
|
],
|
|
],
|
|
|
|
'dependencies' => [
|
|
'factories' => [
|
|
EventDispatcher\LocateShortUrlVisit::class => ConfigAbstractFactory::class,
|
|
],
|
|
],
|
|
|
|
ConfigAbstractFactory::class => [
|
|
EventDispatcher\LocateShortUrlVisit::class => [IpLocationResolverInterface::class, 'em', 'Logger_Shlink'],
|
|
],
|
|
|
|
];
|