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 = [])

Converts a property name to its normalized value.

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

Converts a property name to its denormalized value.

Details

at line 34
__construct(ClassMetadataFactoryInterface $metadataFactory, NameConverterInterface $fallbackNameConverter = null)

Parameters

ClassMetadataFactoryInterface $metadataFactory
NameConverterInterface $fallbackNameConverter

at line 43
string normalize(string $propertyName, string $class = null, string $format = null, array $context = [])

Converts a property name to its normalized value.

Parameters

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

Return Value

string

at line 59
string denormalize(string $propertyName, string $class = null, string $format = null, array $context = [])

Converts a property name to its denormalized value.

Parameters

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

Return Value

string