Documentation

MetadataAwareNameConverter
in package
implements AdvancedNameConverterInterface

FinalYes
Tags
author

Fabien Bourigault bourigaultfabien@gmail.com

Table of Contents

Interfaces

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

Properties

$attributesMetadataCache  : mixed
$denormalizeCache  : mixed
$fallbackNameConverter  : NameConverterInterface|AdvancedNameConverterInterface|null
$metadataFactory  : mixed
$normalizeCache  : mixed

Methods

__construct()  : mixed
denormalize()  : string
Converts a property name to its denormalized value.
normalize()  : string
Converts a property name to its normalized value.
denormalizeFallback()  : string
getCacheKey()  : string
getCacheValueForAttributesMetadata()  : array<string|int, mixed>
getCacheValueForDenormalization()  : string|null
getCacheValueForNormalization()  : string|null
normalizeFallback()  : string

Properties

Methods

denormalize()

Converts a property name to its denormalized value.

public denormalize(string $propertyName[, string $class = null ][, string $format = null ][, array<string|int, mixed> $context = [] ]) : string
Parameters
$propertyName : string
$class : string = null
$format : string = null
$context : array<string|int, mixed> = []
Return values
string

normalize()

Converts a property name to its normalized value.

public normalize(string $propertyName[, string $class = null ][, string $format = null ][, array<string|int, mixed> $context = [] ]) : string
Parameters
$propertyName : string
$class : string = null
$format : string = null
$context : array<string|int, mixed> = []
Return values
string

denormalizeFallback()

private denormalizeFallback(string $propertyName[, string $class = null ][, string $format = null ][, array<string|int, mixed> $context = [] ]) : string
Parameters
$propertyName : string
$class : string = null
$format : string = null
$context : array<string|int, mixed> = []
Return values
string

getCacheKey()

private getCacheKey(string $class, array<string|int, mixed> $context) : string
Parameters
$class : string
$context : array<string|int, mixed>
Return values
string

getCacheValueForAttributesMetadata()

private getCacheValueForAttributesMetadata(string $class, array<string|int, mixed> $context) : array<string|int, mixed>
Parameters
$class : string
$context : array<string|int, mixed>
Return values
array<string|int, mixed>

getCacheValueForDenormalization()

private getCacheValueForDenormalization(string $propertyName, string $class, array<string|int, mixed> $context) : string|null
Parameters
$propertyName : string
$class : string
$context : array<string|int, mixed>
Return values
string|null

getCacheValueForNormalization()

private getCacheValueForNormalization(string $propertyName, string $class) : string|null
Parameters
$propertyName : string
$class : string
Return values
string|null

normalizeFallback()

private normalizeFallback(string $propertyName[, string $class = null ][, string $format = null ][, array<string|int, mixed> $context = [] ]) : string
Parameters
$propertyName : string
$class : string = null
$format : string = null
$context : array<string|int, mixed> = []
Return values
string

        
On this page

Search results