string CliRouter::convert_case(string $word, [ string $case = 'title' ])
Convert naming convention
| Parameter | Required | Type | Description |
|---|---|---|---|
| word | Yes | string | The word / phrase to convert |
| case | No | string | Naming convention to convert to. Supported values are -- lower, upper, title, camel, phrase |
The converted word / string.