Total Complexity | 3 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | class ExceptionCatcher implements ExceptionCatcherInterface |
||
19 | { |
||
20 | /** |
||
21 | * @var ConsoleConfigInterface $config The configuration to use. |
||
22 | */ |
||
23 | private $config; |
||
24 | |||
25 | /** |
||
26 | * @var StyleInterface $output The output to display message. |
||
27 | */ |
||
28 | private $output; |
||
29 | |||
30 | /** |
||
31 | * ExceptionCatcher constructor. |
||
32 | * |
||
33 | * @param ConsoleConfigInterface $config The config to use. |
||
34 | * @param StyleInterface $output The output to use. |
||
35 | */ |
||
36 | public function __construct( |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function catch(Exception $exception): void |
||
56 |