Copied!

CostCalculatorRegistryInterface

CostCalculatorRegistryInterface.php : 11

Methods

publicgetCalculator()

CostCalculatorRegistryInterface.php : 18
public getCalculator(string $identifier) : CostCalculatorInterface

Parameters

Name Type Default value Description
$identifier string - -

Return values

CostCalculatorInterface

Tags
Throws
InvalidArgumentException

publichasCalculator()

CostCalculatorRegistryInterface.php : 13
public hasCalculator(string $identifier) : bool

Parameters

Name Type Default value Description
$identifier string - -

Return values

bool