NameMapperResolver
class NameMapperResolver
Methods
NameMapper|null
resolveInput(DataAttributesCollection $attributes, NameMapper|null $default = null)
Resolve the input mapper declared by the attributes.
NameMapper|null
resolveOutput(DataAttributesCollection $attributes, NameMapper|null $default = null)
Resolve the output mapper declared by the attributes.
NameMapper|null
resolveConfigured(string|null $mapper)
Resolve a configured mapper class.
Details
at line 19
__construct(Container $container)
Create a new name mapper resolver.
at line 27
NameMapper|null
resolveInput(DataAttributesCollection $attributes, NameMapper|null $default = null)
Resolve the input mapper declared by the attributes.
at line 46
NameMapper|null
resolveOutput(DataAttributesCollection $attributes, NameMapper|null $default = null)
Resolve the output mapper declared by the attributes.
at line 67
NameMapper|null
resolveConfigured(string|null $mapper)
Resolve a configured mapper class.
at line 75
protected NameMapper
resolve(string|int|NameMapper $mapper)
Resolve one mapper declaration.