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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Serializer/NameConverter/NameConverterInterface.html