|
4 | 4 | * @copyright Copyright (c) 2014 Zend Technologies USA Inc. (http://www.zend.com) |
5 | 5 | */ |
6 | 6 |
|
| 7 | +namespace ZF\ApiProblem; |
| 8 | + |
7 | 9 | return [ |
8 | 10 | 'service_manager' => [ |
9 | 11 | 'aliases' => [ |
10 | | - 'ZF\ApiProblem\ApiProblemListener' => 'ZF\ApiProblem\Listener\ApiProblemListener', |
11 | | - 'ZF\ApiProblem\RenderErrorListener' => 'ZF\ApiProblem\Listener\RenderErrorListener', |
12 | | - 'ZF\ApiProblem\ApiProblemRenderer' => 'ZF\ApiProblem\View\ApiProblemRenderer', |
13 | | - 'ZF\ApiProblem\ApiProblemStrategy' => 'ZF\ApiProblem\View\ApiProblemStrategy', |
| 12 | + ApiProblemListener::class => Listener\ApiProblemListener::class, |
| 13 | + RenderErrorListener::class => Listener\RenderErrorListener::class, |
| 14 | + ApiProblemRenderer::class => View\ApiProblemRenderer::class, |
| 15 | + ApiProblemStrategy::class => View\ApiProblemStrategy::class, |
14 | 16 | ], |
15 | 17 | 'factories' => [ |
16 | | - 'ZF\ApiProblem\Listener\ApiProblemListener' => 'ZF\ApiProblem\Factory\ApiProblemListenerFactory', |
17 | | - 'ZF\ApiProblem\Listener\RenderErrorListener' => 'ZF\ApiProblem\Factory\RenderErrorListenerFactory', |
18 | | - 'ZF\ApiProblem\Listener\SendApiProblemResponseListener' => 'ZF\ApiProblem\Factory\SendApiProblemResponseListenerFactory', |
19 | | - 'ZF\ApiProblem\View\ApiProblemRenderer' => 'ZF\ApiProblem\Factory\ApiProblemRendererFactory', |
20 | | - 'ZF\ApiProblem\View\ApiProblemStrategy' => 'ZF\ApiProblem\Factory\ApiProblemStrategyFactory', |
| 18 | + Listener\ApiProblemListener::class => Factory\ApiProblemListenerFactory::class, |
| 19 | + Listener\RenderErrorListener::class => Factory\RenderErrorListenerFactory::class, |
| 20 | + Listener\SendApiProblemResponseListener::class => Factory\SendApiProblemResponseListenerFactory::class, |
| 21 | + View\ApiProblemRenderer::class => Factory\ApiProblemRendererFactory::class, |
| 22 | + View\ApiProblemStrategy::class => Factory\ApiProblemStrategyFactory::class, |
21 | 23 | ], |
22 | 24 | ], |
23 | 25 |
|
|
0 commit comments