toCamelCase

Returns a camelCase version of the string.

Description

static toCamelCase(bool $upperFirst)

Trims surrounding spaces, capitalizes letters following digits, spaces, dashes & underscores and removes spaces & dashes as well as underscores.

Parameters

  • bool $upperFirst
    If true, the first char will be UPPERCASE.

Return Value

static