DeleteHistoryReport
in package
implements
IteratorAggregate
Class DeleteHistoryReport
Interfaces, Classes and Traits
- IteratorAggregate
Table of Contents
- $reports : array<string|int, DeleteHistoryReportItem>
- __construct() : mixed
- DeleteHistoryReport constructor.
- collect() : DeleteHistoryReport
- Named constructor of delete history report.
- getIterator() : Traversable
- Retrieve an external iterator
- _add() : mixed
- Adds an report item to the internal reports list.
Properties
$reports
private
array<string|int, DeleteHistoryReportItem>
$reports
= []
Methods
__construct()
DeleteHistoryReport constructor.
public
__construct(array<string|int, DeleteHistoryReportItem> $reports) : mixed
Parameters
- $reports : array<string|int, DeleteHistoryReportItem>
-
Delete history reports.
Return values
mixed —collect()
Named constructor of delete history report.
public
static collect(array<string|int, DeleteHistoryReportItem> $reports) : DeleteHistoryReport
Parameters
- $reports : array<string|int, DeleteHistoryReportItem>
-
Delete history reports.
Return values
DeleteHistoryReport —New instance.
getIterator()
Retrieve an external iterator
public
getIterator() : Traversable
Tags
Return values
Traversable —An instance of an object implementing Iterator or Traversable
_add()
Adds an report item to the internal reports list.
protected
_add(DeleteHistoryReportItem $report) : mixed
Parameters
- $report : DeleteHistoryReportItem
-
New report item.