class BaseMapper implements MapperInterface

BaseMapper class.

Properties

protected ResourceBuilderInterface $builder
protected ClientInterface $client
protected ParserInterface $richTextParser
protected ObjectHydrator $hydrator

Methods

__construct(ResourceBuilderInterface $builder, ClientInterface $client, ParserInterface $richTextParser)

BaseMapper constructor.

createSystemProperties(string $class, array $data)

No description

array
normalizeFieldData($fieldData, string $locale = null)

No description

Details

at line 50
__construct(ResourceBuilderInterface $builder, ClientInterface $client, ParserInterface $richTextParser)

BaseMapper constructor.

Parameters

ResourceBuilderInterface $builder
ClientInterface $client
ParserInterface $richTextParser

at line 58
protected createSystemProperties(string $class, array $data)

Parameters

string $class
array $data

at line 82
protected array normalizeFieldData($fieldData, string $locale = null)

Parameters

$fieldData
string $locale

Return Value

array