ContentType
class ContentType extends BaseMapper
ContentType class.
This class is responsible for converting raw API data into a PHP object of class Contentful\Delivery\Resource\ContentType.
Properties
protected ResourceBuilderInterface | $builder | from BaseMapper | |
protected ClientInterface | $client | from BaseMapper | |
protected ParserInterface | $richTextParser | from BaseMapper | |
protected ObjectHydrator | $hydrator | from BaseMapper |
Methods
__construct(ResourceBuilderInterface $builder, ClientInterface $client, ParserInterface $richTextParser)
BaseMapper constructor.
from BaseMapper
SystemPropertiesInterface
createSystemProperties(string $class, array $data)
No description
from BaseMapper
map($resource, array $data)
{@inheritdoc}
Details
in BaseMapper at line 54
__construct(ResourceBuilderInterface $builder, ClientInterface $client, ParserInterface $richTextParser)
BaseMapper constructor.
in BaseMapper at line 68
protected SystemPropertiesInterface
createSystemProperties(string $class, array $data)
in BaseMapper at line 93
protected array
normalizeFieldData(mixed $fieldData, string $locale = \null)
at line 29
map($resource, array $data)
{@inheritdoc}