Str::label()
Converts keys or ids into human-readable labels by normalizing punctuation, splitting camel- or kebab-case, and title-casing the result.
Str::label(string $value): string
Parameters
| Name | Type | Default |
|---|---|---|
| $valuerequired | string |
no default value |
Return type
string