CliRouter::convert_case

Usage

string CliRouter::convert_case(string $word, [ string $case = 'title' ])

Description

Convert naming convention

Parameters

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

Return

The converted word / string.

See Also