Total Complexity | 5 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | final class CompatCallTraceFormatter implements CallTraceFormatter |
||
20 | { |
||
21 | private CompatCallFrameFormatter $call_frame_formatter; |
||
22 | private static ?self $cache; |
||
23 | |||
24 | public static function getInstance(): self |
||
30 | } |
||
31 | |||
32 | public function __construct( |
||
33 | CompatCallFrameFormatter $call_frame_formatter |
||
34 | ) { |
||
35 | $this->call_frame_formatter = $call_frame_formatter; |
||
36 | } |
||
37 | |||
38 | |||
39 | |||
40 | public function format(CallTrace $call_trace): string |
||
47 | } |
||
48 | } |
||
49 |