class CamelCaseToSnakeCaseNameConverter implements NameConverterInterface

CamelCase to Underscore name converter.

Methods

__construct(array $attributes = null, bool $lowerCamelCase = true)

No description

string
normalize(string $propertyName)

Converts a property name to its normalized value.

string
denormalize(string $propertyName)

Converts a property name to its denormalized value.

Details

at line line 34
__construct(array $attributes = null, bool $lowerCamelCase = true)

Parameters

array $attributes The list of attributes to rename or null for all attributes.
bool $lowerCamelCase Use lowerCamelCase style.

at line line 43
string normalize(string $propertyName)

Converts a property name to its normalized value.

Parameters

string $propertyName

Return Value

string

at line line 66
string denormalize(string $propertyName)

Converts a property name to its denormalized value.

Parameters

string $propertyName

Return Value

string