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 | 19 | public function __invoke(ContainerInterface $container): ThrowableStreamFactory |
|
34 | { |
||
35 | 19 | $streamFactory = $container->get(StreamFactoryInterface::class); |
|
36 | 19 | $throwableHandler = $container->get(ThrowableHandlerInterface::class); |
|
37 | |||
38 | 19 | return new ThrowableStreamFactory($streamFactory, $throwableHandler); |
|
39 | } |
||
41 |