Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
23 | 1 | public function handleDependencies(DependencyContainerInterface $container): DependencyContainerInterface |
|
24 | { |
||
25 | $container[self::EXCEPTION_HANDLER] = function () { |
||
26 | 1 | return new HandlerCollection( |
|
27 | 1 | $this->getExceptionHandler() |
|
28 | ); |
||
29 | }; |
||
30 | |||
31 | $container[self::EXCEPTION_REGISTER] = function () { |
||
32 | 1 | return new RegisterCollection( |
|
33 | 1 | $this->getExceptionRegister() |
|
34 | ); |
||
35 | }; |
||
36 | |||
37 | 1 | return $container; |
|
38 | } |
||
56 |