interface AdvancedNameConverterInterface implements NameConverterInterface

Gives access to the class, the format and the context in the property name converters.

Methods

string
normalize(string $propertyName, string $class = null, string $format = null, array $context = array())

Converts a property name to its normalized value.

string
denormalize(string $propertyName, string $class = null, string $format = null, array $context = array())

Converts a property name to its denormalized value.

Details

string normalize(string $propertyName, string $class = null, string $format = null, array $context = array())

Converts a property name to its normalized value.

Parameters

string $propertyName
string $class
string $format
array $context

Return Value

string

string denormalize(string $propertyName, string $class = null, string $format = null, array $context = array())

Converts a property name to its denormalized value.

Parameters

string $propertyName
string $class
string $format
array $context

Return Value

string