mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-29 02:11:10 -06:00
Removed non-needed services from expressive-helpers
This commit is contained in:
parent
84f6080a38
commit
e9972783d2
@ -4,18 +4,13 @@ declare(strict_types=1);
|
|||||||
use Shlinkio\Shlink\Common\Factory\EmptyResponseImplicitOptionsMiddlewareFactory;
|
use Shlinkio\Shlink\Common\Factory\EmptyResponseImplicitOptionsMiddlewareFactory;
|
||||||
use Zend\Expressive;
|
use Zend\Expressive;
|
||||||
use Zend\Expressive\Container;
|
use Zend\Expressive\Container;
|
||||||
use Zend\Expressive\Helper;
|
|
||||||
use Zend\Expressive\Router\Middleware\ImplicitOptionsMiddleware;
|
use Zend\Expressive\Router\Middleware\ImplicitOptionsMiddleware;
|
||||||
use Zend\ServiceManager\Factory\InvokableFactory;
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|
||||||
'dependencies' => [
|
'dependencies' => [
|
||||||
'factories' => [
|
'factories' => [
|
||||||
ImplicitOptionsMiddleware::class => EmptyResponseImplicitOptionsMiddlewareFactory::class,
|
ImplicitOptionsMiddleware::class => EmptyResponseImplicitOptionsMiddlewareFactory::class,
|
||||||
|
|
||||||
Helper\UrlHelper::class => Helper\UrlHelperFactory::class,
|
|
||||||
Helper\ServerUrlHelper::class => InvokableFactory::class,
|
|
||||||
],
|
],
|
||||||
|
|
||||||
'delegators' => [
|
'delegators' => [
|
||||||
|
@ -12,7 +12,6 @@ return (new ConfigAggregator\ConfigAggregator([
|
|||||||
Expressive\Router\ConfigProvider::class,
|
Expressive\Router\ConfigProvider::class,
|
||||||
Expressive\Router\FastRouteRouter\ConfigProvider::class,
|
Expressive\Router\FastRouteRouter\ConfigProvider::class,
|
||||||
Expressive\Plates\ConfigProvider::class,
|
Expressive\Plates\ConfigProvider::class,
|
||||||
Expressive\Helper\ConfigProvider::class,
|
|
||||||
Expressive\Swoole\ConfigProvider::class,
|
Expressive\Swoole\ConfigProvider::class,
|
||||||
ExpressiveErrorHandler\ConfigProvider::class,
|
ExpressiveErrorHandler\ConfigProvider::class,
|
||||||
Common\ConfigProvider::class,
|
Common\ConfigProvider::class,
|
||||||
|
Loading…
Reference in New Issue
Block a user