class Entry extends BaseMapper

Entry class.

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

Properties

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

Methods

__construct(ResourceBuilder $builder)

BaseMapper constructor.

map($resource, array $data)

{@inheritdoc}

Details

in BaseMapper at line 36
__construct(ResourceBuilder $builder)

BaseMapper constructor.

Parameters

ResourceBuilder $builder

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

{@inheritdoc}

Parameters

$resource
array $data