Copied!

EntryInterface

EntryInterface.php : 18

Methods

publicgetAddedAt()

EntryInterface.php : 42
public getAddedAt() : DateTimeInterface

Return values

DateTimeInterface

publicgetContext()

EntryInterface.php : 49
public getContext() : MapInterface<string, mixed>|null

Return values

MapInterface<string, mixed>|null

publicgetId()

EntryInterface.php : 25

Numeric ID used by some storage gateways.

public getId() : int|null

Use getIdentifier() for compatibility across all storages.

Return values

int|null

publicgetIdentifier()

EntryInterface.php : 27
public getIdentifier() : string

Return values

string

publicgetName()

EntryInterface.php : 31
public getName(string $languageCode) : string

Parameters

Name Type Default value Description
$languageCode string - -

Return values

string

publicgetNames()

EntryInterface.php : 36
public getNames() : array<string, string>

Return values

array<string, string>

publicgetPrice()

EntryInterface.php : 44
public getPrice() : PriceInterface

Return values

PriceInterface

publicgetProduct()

EntryInterface.php : 40
public getProduct() : ProductInterface

Return values

ProductInterface

publicgetQuantity()

EntryInterface.php : 38
public getQuantity() : int

Return values

int

publichasName()

EntryInterface.php : 29
public hasName(string $languageCode) : bool

Parameters

Name Type Default value Description
$languageCode string - -

Return values

bool