|
15 | 15 | use Api\App\Middleware\AuthorizationMiddleware; |
16 | 16 | use Api\App\Middleware\ContentNegotiationMiddleware; |
17 | 17 | use Api\App\Middleware\DeprecationMiddleware; |
| 18 | +use Api\App\Middleware\ErrorReportPermissionMiddleware; |
18 | 19 | use Api\App\Middleware\ResponseMiddleware; |
19 | 20 | use Api\App\Service\ErrorReportService; |
20 | 21 | use Api\App\Service\ErrorReportServiceInterface; |
@@ -54,20 +55,21 @@ public function getDependencies(): array |
54 | 55 | PostErrorReportResourceHandler::class => [HandlerDelegatorFactory::class], |
55 | 56 | ], |
56 | 57 | 'factories' => [ |
57 | | - 'dot-mail.options.default' => MailOptionsAbstractFactory::class, |
58 | | - 'dot-mail.service.default' => MailServiceAbstractFactory::class, |
59 | | - AuthenticationMiddleware::class => AuthenticationMiddlewareFactory::class, |
60 | | - AuthorizationMiddleware::class => AttributedServiceFactory::class, |
61 | | - ContentNegotiationMiddleware::class => AttributedServiceFactory::class, |
62 | | - DeprecationMiddleware::class => AttributedServiceFactory::class, |
63 | | - Environment::class => TwigEnvironmentFactory::class, |
64 | | - PostErrorReportResourceHandler::class => AttributedServiceFactory::class, |
65 | | - ErrorReportService::class => AttributedServiceFactory::class, |
66 | | - ResponseMiddleware::class => AttributedServiceFactory::class, |
67 | | - RouteListCommand::class => RouteListCommandFactory::class, |
68 | | - TokenGenerateCommand::class => TokenGenerateCommandFactory::class, |
69 | | - TwigExtension::class => TwigExtensionFactory::class, |
70 | | - TwigRenderer::class => TwigRendererFactory::class, |
| 58 | + 'dot-mail.options.default' => MailOptionsAbstractFactory::class, |
| 59 | + 'dot-mail.service.default' => MailServiceAbstractFactory::class, |
| 60 | + AuthenticationMiddleware::class => AuthenticationMiddlewareFactory::class, |
| 61 | + AuthorizationMiddleware::class => AttributedServiceFactory::class, |
| 62 | + ContentNegotiationMiddleware::class => AttributedServiceFactory::class, |
| 63 | + DeprecationMiddleware::class => AttributedServiceFactory::class, |
| 64 | + Environment::class => TwigEnvironmentFactory::class, |
| 65 | + ErrorReportPermissionMiddleware::class => AttributedServiceFactory::class, |
| 66 | + PostErrorReportResourceHandler::class => AttributedServiceFactory::class, |
| 67 | + ErrorReportService::class => AttributedServiceFactory::class, |
| 68 | + ResponseMiddleware::class => AttributedServiceFactory::class, |
| 69 | + RouteListCommand::class => RouteListCommandFactory::class, |
| 70 | + TokenGenerateCommand::class => TokenGenerateCommandFactory::class, |
| 71 | + TwigExtension::class => TwigExtensionFactory::class, |
| 72 | + TwigRenderer::class => TwigRendererFactory::class, |
71 | 73 | ], |
72 | 74 | 'aliases' => [ |
73 | 75 | Authentication\AuthenticationInterface::class => Authentication\OAuth2\OAuth2Adapter::class, |
|
0 commit comments