Str::widont()
The widont function makes sure that there are no typographical widows at the end of a paragraph – that's a single word in the last line
Str::widont(string|null $string): string
Parameters
Name | Type | Default |
---|---|---|
$string | string ornull |
no default value |
Return type
string