Copied!

FieldTypeService

FieldTypeService.php : 16

An implementation of this class provides access to FieldTypes.

Tags
See
FieldType

Methods

publicgetFieldType()

FieldTypeService.php : 34

Returns the FieldType registered with the given identifier.

public getFieldType(string $identifier) : FieldType

Parameters

Name Type Default value Description
$identifier string - -

Return values

FieldType

Tags
Throws
NotFoundException

if there is no FieldType registered with $identifier

publicgetFieldTypes()

FieldTypeService.php : 23

Returns a list of all field types.

public getFieldTypes() : array<string|int, FieldType>

Return values

array<string|int, FieldType>

publichasFieldType()

FieldTypeService.php : 43

Returns if there is a FieldType registered under $identifier.

public hasFieldType(string $identifier) : bool

Parameters

Name Type Default value Description
$identifier string - -

Return values

bool