mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-20 02:25:54 +03:00
28 lines
805 B
PHP
28 lines
805 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
use Shlinkio\Shlink\Common\Factory\EmptyResponseImplicitOptionsMiddlewareFactory;
|
|
use Zend\Expressive;
|
|
use Zend\Expressive\Container;
|
|
use Zend\Expressive\Helper;
|
|
use Zend\Expressive\Router\Middleware\ImplicitOptionsMiddleware;
|
|
use Zend\ServiceManager\Factory\InvokableFactory;
|
|
|
|
return [
|
|
|
|
'dependencies' => [
|
|
'factories' => [
|
|
ImplicitOptionsMiddleware::class => EmptyResponseImplicitOptionsMiddlewareFactory::class,
|
|
|
|
Helper\UrlHelper::class => Helper\UrlHelperFactory::class,
|
|
Helper\ServerUrlHelper::class => InvokableFactory::class,
|
|
],
|
|
|
|
'delegators' => [
|
|
Expressive\Application::class => [
|
|
Container\ApplicationConfigInjectionDelegator::class,
|
|
],
|
|
],
|
|
],
|
|
|
|
];
|