class IntMetadataField extends MetadataField

Represents a structured metadata field with 'Int' type.

Methods

__construct(string $label)

The IntMetadataField constructor.

setDefaultValue(mixed $defaultValue)

Sets the default value for this field.

Details

__construct(string $label)

The IntMetadataField constructor.

Parameters

Name Type Description
$label string

void setDefaultValue(mixed $defaultValue)

Sets the default value for this field.

Parameters

Name Type Description
$defaultValue mixed

Return Value

void