class ContentType extends BaseMapper

ContentType class.

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

Properties

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

Methods

__construct(ResourceBuilder $builder)

BaseMapper constructor.

map($resource, array $data)

{@inheritdoc}

mapField(array $data)

No description

Details

in BaseMapper at line 36
__construct(ResourceBuilder $builder)

BaseMapper constructor.

Parameters

ResourceBuilder $builder

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

{@inheritdoc}

Parameters

$resource
array $data

at line 44
protected mapField(array $data)

Parameters

array $data