Copied!

UnitInterface

UnitInterface.php : 13
Extends Stringable

Methods

publicequals()

UnitInterface.php : 21
public equals(UnitInterface $unit) : bool

Parameters

Name Type Default value Description
$unit UnitInterface - -

Return values

bool

publicgetIdentifier()

UnitInterface.php : 15
public getIdentifier() : string

Return values

string

publicgetSymbol()

UnitInterface.php : 17
public getSymbol() : string

Return values

string

publicisBaseUnit()

UnitInterface.php : 19
public isBaseUnit() : bool

Return values

bool