ImportCollectionDto
in package
FinalYes
Wrapper of a collection: categories, tags, parameters, images, accessories.
$mode is null when the wrapper tag has no collectionMode attribute; the default of the job settings
then applies. The parser does not know the job settings (it is format-independent), so the
validator or executor decides through resolveMode().
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- resolveMode() : string
Properties
$items read-only
public
array<string|int, mixed>
$items
$line read-only
public
int
$line
$mode read-only
public
string|null
$mode
Methods
__construct()
public
__construct(string|null $mode, array<int, TItem> $items, int $line) : mixed
Parameters
- $mode : string|null
- $items : array<int, TItem>
- $line : int
resolveMode()
public
resolveMode(string $default) : string
Parameters
- $default : string