Convert::case
Usage
string Convert::case(string $word, [ string $case = 'title' ])Description
Convert naming conventionParameters
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 |