Total Complexity | 5 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
18 | final class CallFrameFormatter |
||
19 | { |
||
20 | public function format(CallFrame $call_frame): string |
||
23 | } |
||
24 | |||
25 | private function formatFunctionName(CallFrame $call_frame): string |
||
26 | { |
||
27 | if ($call_frame->class_name === '') { |
||
28 | return $call_frame->function_name; |
||
29 | } |
||
30 | return "{$call_frame->class_name}::{$call_frame->function_name}"; |
||
31 | } |
||
32 | |||
33 | private function formatOpLine(CallFrame $call_frame): string |
||
39 | } |
||
40 | } |
||
41 |