Removed non-needed services from expressive-helpers

This commit is contained in:
Alejandro Celaya 2018-12-01 21:53:46 +01:00
parent 84f6080a38
commit e9972783d2
2 changed files with 0 additions and 6 deletions

View File

@ -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' => [

View File

@ -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,