W3cubDocs

/Symfony 4.1

NameConverterInterface

interface NameConverterInterface

Defines the interface for property name converters.

Methods

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

string normalize(string $propertyName)

Converts a property name to its normalized value.

Parameters

string $propertyName

Return Value

string

string denormalize(string $propertyName)

Converts a property name to its denormalized value.

Parameters

string $propertyName

Return Value

string