phpDocumentor

QuantityUnitInterface

Interface QuantityUnitInterface

Tags
category

System

subpackage

Entities

Table of Contents

getId()  : int
Returns the id.
getName()  : string
Returns the quantity unit name.
getNames()  : array<string|int, mixed>
Returns all language specific names.
setId()  : $this|QuantityUnitInterface
Sets the id.
setName()  : $this|QuantityUnitInterface
Sets the quantity unit name.

Methods

getName()

Returns the quantity unit name.

public getName(LanguageCode $languageCode) : string
Parameters
$languageCode : LanguageCode

Language code for language specific name value.

Return values
string

Language specific name value.

getNames()

Returns all language specific names.

public getNames() : array<string|int, mixed>
Return values
array<string|int, mixed>

Language specific names value.

Search results