phpDocumentor

SpecialOfferCollection
in package
implements Countable, IteratorAggregate

Class SpecialOfferCollection

Interfaces, Classes and Traits

Countable
IteratorAggregate

Table of Contents

$specialOffers  : array<string|int, SpecialOfferInterface>
__construct()  : mixed
SpecialOfferCollection constructor.
collect()  : SpecialOfferCollection
Named constructor of special offer collection.
count()  : int
Returns the count of all collection items.
getArray()  : array<string|int, SpecialOfferInterface>
Returns the collection items.
getIterator()  : ArrayIterator|Traversable
Returns the collection items as array iterator to loop through the collection.
add()  : mixed
Adds a new item to the collection.

Properties

Methods

count()

Returns the count of all collection items.

public count() : int
Return values
int

Count of all collection items.

getIterator()

Returns the collection items as array iterator to loop through the collection.

public getIterator() : ArrayIterator|Traversable
Return values
ArrayIterator|Traversable

Search results