src/Common/TextUtils.php
public static function wordwrap(string $string, int $length = 80, string $break = "\n", bool $cut = false): string
    {
        return wordwrap($string, $length, $break, $cut);
    }
public static function wordwrap(string $string, int $length = 80, string $break = "\n", bool $cut = false): string
    {
        return wordwrap($string, $length, $break, $cut);
    }
public static function wordwrap ( string $ string , int $ length = 80 , string $ break = "\n" , bool $ cut = false ) : string { return wordwrap ( $ string , $ length , $ break , $ cut ) ; }
Wrap a string of text at a given length

@param  string  $string
@param  integer $length
@param  string  $break
@param  bool    $cut
@return string
Wrap a string of text at a given length