Class

eZ\Publish\Core\REST\Server\Values\RestContentType

class RestContentType extends Value

REST Content type, as received by /content/types/.

Might have a "FieldDefinitionList" embedded

Properties

ContentType $contentType
FieldDefinition[] $fieldDefinitions

Methods

__construct(ContentType $contentType, array $fieldDefinitions = null)

Construct.

Details

at line 37
public __construct(ContentType $contentType, array $fieldDefinitions = null)

Construct.

Parameters

ContentType $contentType
array $fieldDefinitions