ImporterStep
in package
Step of the import process.
Table of Contents
- $active : mixed
- $key : mixed
- $label : mixed
- $subSteps : mixed
- $value : mixed
- __construct() : mixed
- Constructor.
- addSubStep() : mixed
- Adds a sub-step.
- getKey() : string
- Returns the key.
- getLabel() : string
- Returns the label.
- getSubSteps() : array<string|int, ImporterStep>
- Returns the sub-steps.
- getValue() : string
- Returns the value.
- isActive() : bool
- Returns if this step should be executed.
- setActive() : mixed
- Sets if this step should be executed.
Properties
$active
private
mixed
$active
= false
$key
private
mixed
$key
$label
private
mixed
$label
$subSteps
private
mixed
$subSteps
= []
$value
private
mixed
$value
Methods
__construct()
Constructor.
public
__construct(string $label, string $key, array<string|int, mixed> $value) : mixed
Parameters
- $label : string
-
label
- $key : string
-
key
- $value : array<string|int, mixed>
-
value
Return values
mixed —addSubStep()
Adds a sub-step.
public
addSubStep(ImporterStep $subStep) : mixed
Parameters
- $subStep : ImporterStep
-
sub-step
Return values
mixed —getKey()
Returns the key.
public
getKey() : string
Return values
string —key
getLabel()
Returns the label.
public
getLabel() : string
Return values
string —label
getSubSteps()
Returns the sub-steps.
public
getSubSteps() : array<string|int, ImporterStep>
Return values
array<string|int, ImporterStep> —sub-steps
getValue()
Returns the value.
public
getValue() : string
Return values
string —value
isActive()
Returns if this step should be executed.
public
isActive() : bool
Return values
bool —active
setActive()
Sets if this step should be executed.
public
setActive(bool $active) : mixed
Parameters
- $active : bool
-
active