1 | <?php |
||
8 | class StringUtil |
||
9 | { |
||
10 | /** |
||
11 | * Minimal multi-byte wordwrap implementation |
||
12 | * which also takes break length into consideration |
||
13 | */ |
||
14 | public static function wordwrap(string $string, int $width, string $break = "\n") : string |
||
41 | |||
42 | public static function stripAnsiEscapeSequence(string $str) : string |
||
46 | } |
||
47 |