Copied!

ShoppingListEntryCollectionInterface

ShoppingListEntryCollectionInterface.php : 18
Interface
Extends IteratorAggregate, Countable

Methods

publicgetEntries()

ShoppingListEntryCollectionInterface.php : 23
public getEntries() : array<string|int, ShoppingListEntryInterface>

Return values

array<string|int, ShoppingListEntryInterface>

publicgetEntry()

ShoppingListEntryCollectionInterface.php : 32
public getEntry(string $identifier) : ShoppingListEntryInterface

Parameters

Name Type Default value Description
$identifier string - -

Return values

ShoppingListEntryInterface

Tags
Throws
NotFoundException

publicgetEntryWithProductCode()

ShoppingListEntryCollectionInterface.php : 39
public getEntryWithProductCode(string $productCode) : ShoppingListEntryInterface

Parameters

Name Type Default value Description
$productCode string - -

Return values

ShoppingListEntryInterface

Tags
Throws
NotFoundException

publicgetTotalCount()

ShoppingListEntryCollectionInterface.php : 25
public getTotalCount() : int

Return values

int

publichasEntry()

ShoppingListEntryCollectionInterface.php : 27
public hasEntry(string $identifier) : bool

Parameters

Name Type Default value Description
$identifier string - -

Return values

bool

publichasEntryWithProductCode()

ShoppingListEntryCollectionInterface.php : 34
public hasEntryWithProductCode(string $productCode) : bool

Parameters

Name Type Default value Description
$productCode string - -

Return values

bool