Convert::case

Usage

string 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 Value

The converted word / string.

See Also