class Webhook extends BaseMapper

Webhook class.

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

Properties

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

Methods

__construct(ResourceBuilder $builder)

BaseMapper constructor.

map($resource, array $data)

{@inheritdoc}

string[]
formatHeaders(array $dataHeaders)

No description

formatFilter(array $data)

No description

Details

in BaseMapper at line 36
__construct(ResourceBuilder $builder)

BaseMapper constructor.

Parameters

ResourceBuilder $builder

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

{@inheritdoc}

Parameters

$resource
array $data

at line 57
protected string[] formatHeaders(array $dataHeaders)

Parameters

array $dataHeaders

Return Value

string[]

at line 67
protected formatFilter(array $data)

Parameters

array $data