mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-28 09:51:40 -06:00
23 lines
626 B
PHP
23 lines
626 B
PHP
<?php
|
|
use Zend\Expressive;
|
|
use Zend\Expressive\Container;
|
|
use Zend\Expressive\Router;
|
|
use Zend\Expressive\Template;
|
|
use Zend\Expressive\Twig;
|
|
use Zend\ServiceManager\Factory\InvokableFactory;
|
|
|
|
return [
|
|
|
|
'dependencies' => [
|
|
'factories' => [
|
|
Expressive\Application::class => Container\ApplicationFactory::class,
|
|
Router\FastRouteRouter::class => InvokableFactory::class,
|
|
Template\TemplateRendererInterface::class => Twig\TwigRendererFactory::class,
|
|
],
|
|
'aliases' => [
|
|
Router\RouterInterface::class => Router\FastRouteRouter::class,
|
|
],
|
|
],
|
|
|
|
];
|