mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-24 05:38:06 +03:00
30 lines
1.1 KiB
PHP
30 lines
1.1 KiB
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\Middleware;
|
|
use Zend\Expressive\Plates;
|
|
use Zend\Expressive\Router;
|
|
use Zend\Expressive\Template;
|
|
use Zend\ServiceManager\Factory\InvokableFactory;
|
|
use Zend\Stratigility\Middleware\ErrorHandler;
|
|
|
|
return [
|
|
|
|
'dependencies' => [
|
|
'factories' => [
|
|
Expressive\Application::class => Container\ApplicationFactory::class,
|
|
Template\TemplateRendererInterface::class => Plates\PlatesRendererFactory::class,
|
|
Router\RouterInterface::class => Router\FastRouteRouterFactory::class,
|
|
ErrorHandler::class => Container\ErrorHandlerFactory::class,
|
|
Middleware\ImplicitOptionsMiddleware::class => EmptyResponseImplicitOptionsMiddlewareFactory::class,
|
|
|
|
Helper\UrlHelper::class => Helper\UrlHelperFactory::class,
|
|
Helper\ServerUrlHelper::class => InvokableFactory::class,
|
|
],
|
|
],
|
|
|
|
];
|