UpdateDetailsCollection
in package
implements
IteratorAggregate, Countable
Class UpdateDetailsCollection
Interfaces, Classes and Traits
- IteratorAggregate
- Countable
Table of Contents
- $items : array<string|int, mixed>
- __construct() : mixed
- UpdateDetailsCollection constructor.
- add() : mixed
- Adds an item to this collection.
- count() : int
- Returns the number of contained items.
- create() : UpdateDetailsCollection
- Creates and returns a new UpdateDetailsCollection instance.
- getIterator() : ArrayIterator|Traversable
- Returns iterator for this collection.
- items() : array<string|int, mixed>
- Returns a list of all contained collection items.
Properties
$items
private
array<string|int, mixed>
$items
= []
Methods
__construct()
UpdateDetailsCollection constructor.
public
__construct([array<string|int, mixed> $items = [] ]) : mixed
Parameters
- $items : array<string|int, mixed> = []
Return values
mixed —add()
Adds an item to this collection.
public
add(UpdateDetails $item) : mixed
Parameters
- $item : UpdateDetails
Return values
mixed —count()
Returns the number of contained items.
public
count() : int
Return values
int —create()
Creates and returns a new UpdateDetailsCollection instance.
public
static create([array<string|int, mixed> $items = [] ]) : UpdateDetailsCollection
Parameters
- $items : array<string|int, mixed> = []
Return values
UpdateDetailsCollection —getIterator()
Returns iterator for this collection.
public
getIterator() : ArrayIterator|Traversable
Return values
ArrayIterator|Traversable —items()
Returns a list of all contained collection items.
public
items() : array<string|int, mixed>