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 | stringornull |
no default value |
Return type
string