class Extension extends BaseMapper

Extension class.

This class is responsible for converting raw API data into a PHP object of class Contentful\Management\Resource\Extension.

Properties

protected ResourceBuilder $builder from BaseMapper
protected ObjectHydrator $hydrator from BaseMapper

Methods

__construct(ResourceBuilder $builder)

BaseMapper constructor.

map($resource, array $data)

{@inheritdoc}

buildFieldTypes(array $data)

No description

buildParameter(array $data)

No description

Details

in BaseMapper at line 36
__construct(ResourceBuilder $builder)

BaseMapper constructor.

Parameters

ResourceBuilder $builder

at line 30
map($resource, array $data)

{@inheritdoc}

Parameters

$resource
array $data

at line 52
protected buildFieldTypes(array $data)

Parameters

array $data

at line 73
protected buildParameter(array $data)

Parameters

array $data