Changelog implements IteratorAggregate, Countable
Changelog
Tags
Interfaces, Classes and Traits
- IteratorAggregate
- Countable
Table of Contents
- $items : array<string|int, Since>
- Items.
- __construct() : mixed
- Construct changelog.
- add_item() : mixed
- Add item.
- count() : int
- Count.
- get_first() : Since|null
- Get first version.
- getIterator() : Traversable
- Get iterator.
Properties
$items
Items.
private
array<string|int, Since>
$items
Methods
__construct()
Construct changelog.
public
__construct() : mixed
Return values
mixed —add_item()
Add item.
public
add_item(Since $item) : mixed
Parameters
- $item : Since
-
Item.
Return values
mixed —count()
Count.
public
count() : int
Return values
int —get_first()
Get first version.
public
get_first() : Since|null
Tags
Return values
Since|null —getIterator()
Get iterator.
public
getIterator() : Traversable