toTitleCase
Returns a trimmed string with the first letter of each word capitalized.
Description
static toTitleCase(array|null $ignore)
Also accepts an array, $ignore, allowing you to list words not to be capitalized.
Parameters
- array|null $ignore
An array of words not to capitalize
Return Value
static