| Total Complexity | 5 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | final class DebugTools |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Handy debugging function |
||
| 23 | * |
||
| 24 | * @param string $rawString |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | 3 | public static function convertToBinaryRepresentation(string $rawString): string |
|
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Handy debugging function |
||
| 43 | * |
||
| 44 | * @param string $binaryRepresentation |
||
| 45 | * @param bool $applyBase64 |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | 2 | public static function convertBinaryToString(string $binaryRepresentation, bool $applyBase64 = false): string |
|
| 63 |