class MetadataAwareNameConverter implements AdvancedNameConverterInterface

Methods

__construct(ClassMetadataFactoryInterface $metadataFactory, NameConverterInterface $fallbackNameConverter = null)

No description

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

__construct(ClassMetadataFactoryInterface $metadataFactory, NameConverterInterface $fallbackNameConverter = null)

Parameters

ClassMetadataFactoryInterface $metadataFactory
NameConverterInterface $fallbackNameConverter

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