Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
33 | 12 | public function __invoke(ContainerInterface $container): ThrowableResponseFactory |
|
34 | { |
||
35 | 12 | $throwableStreamFactory = $container->get(ThrowableStreamFactoryInterface::class); |
|
36 | 12 | $responseFactory = $container->get(ResponseFactoryInterface::class); |
|
37 | |||
38 | 12 | return new ThrowableResponseFactory($throwableStreamFactory, $responseFactory); |
|
39 | } |
||
41 |