Copied!

MeasurementTypeFactoryInterface

MeasurementTypeFactoryInterface.php : 13

Methods

publicbuildType()

MeasurementTypeFactoryInterface.php : 18
public buildType(string $typeName) : MeasurementInterface

Parameters

Name Type Default value Description
$typeName string - -

Return values

MeasurementInterface

Tags
Throws
InvalidArgumentException

publicgetAvailableTypes()

MeasurementTypeFactoryInterface.php : 25
public getAvailableTypes() : array<string|int, string>

Return values

array<string|int, string>

publichasType()

MeasurementTypeFactoryInterface.php : 20
public hasType(string $typeName) : bool

Parameters

Name Type Default value Description
$typeName string - -

Return values

bool