Copied!

FieldTypeServiceDecorator

FieldTypeServiceDecorator.php : 14
Implements FieldTypeService

Properties

protected $innerService

FieldTypeServiceDecorator.php : 17
protected FieldTypeService $innerService

Methods

public__construct()

FieldTypeServiceDecorator.php : 19
public __construct(FieldTypeService $innerService)

Parameters

Name Type Default value Description
$innerService FieldTypeService - -

publicgetFieldType()

FieldTypeServiceDecorator.php : 29

Returns the FieldType registered with the given identifier.

public getFieldType(string $identifier) : FieldType

Parameters

Name Type Default value Description
$identifier string - -

Return values

FieldType

publicgetFieldTypes()

FieldTypeServiceDecorator.php : 24

Returns a list of all field types.

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

Return values

array<string|int, FieldType>

publichasFieldType()

FieldTypeServiceDecorator.php : 34

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