mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-24 05:38:06 +03:00
21 lines
675 B
PHP
21 lines
675 B
PHP
<?php
|
|
use Zend\Expressive;
|
|
use Zend\Expressive\Container;
|
|
use Zend\Expressive\Router;
|
|
use Zend\Expressive\Template;
|
|
use Zend\Expressive\Twig;
|
|
use Zend\Stratigility\Middleware\ErrorHandler;
|
|
|
|
return [
|
|
|
|
'dependencies' => [
|
|
'factories' => [
|
|
Expressive\Application::class => Container\ApplicationFactory::class,
|
|
Template\TemplateRendererInterface::class => Twig\TwigRendererFactory::class,
|
|
\Twig_Environment::class => Twig\TwigEnvironmentFactory::class,
|
|
Router\RouterInterface::class => Router\FastRouteRouterFactory::class,
|
|
ErrorHandler::class => Container\ErrorHandlerFactory::class,
|
|
],
|
|
],
|
|
|
|
];
|