ImportIssueBag
in package
FinalYes
Collector of structural defects above the `<product>` level (`<bundles>`).
It exists because of streaming: ImportDto is returned right after the file header, but
<bundles> comes after <products>, so the parser meets it when the DTO is long in use.
A shared mutable bag is the only place where the two moments meet; the DTO itself stays readonly.
Table of Contents
Properties
- $issues : array<int, ImportStructureIssueDto>
Methods
- add() : void
- all() : array<int, ImportStructureIssueDto>
Properties
$issues
private
array<int, ImportStructureIssueDto>
$issues
= []
Methods
add()
public
add(ImportStructureIssueDto $issue) : void
Parameters
- $issue : ImportStructureIssueDto
all()
public
all() : array<int, ImportStructureIssueDto>