Add name property to Step
[MAILPOET-4445]
This commit is contained in:
@@ -78,6 +78,7 @@ class WorkflowBuilder {
|
||||
private function delayStep(?int $delay, string $delayType): Step {
|
||||
return new Step(
|
||||
$this->uniqueId(),
|
||||
null,
|
||||
Step::TYPE_ACTION,
|
||||
$this->delayAction->getKey(),
|
||||
null,
|
||||
@@ -91,6 +92,7 @@ class WorkflowBuilder {
|
||||
private function segmentSubscribedTriggerStep(?int $segmentId = null): Step {
|
||||
return new Step(
|
||||
$this->uniqueId(),
|
||||
null,
|
||||
Step::TYPE_TRIGGER,
|
||||
$this->segmentSubscribedTrigger->getKey(),
|
||||
null,
|
||||
@@ -103,6 +105,7 @@ class WorkflowBuilder {
|
||||
private function sendEmailActionStep(): Step {
|
||||
return new Step(
|
||||
$this->uniqueId(),
|
||||
__('Send email', 'mailpoet'),
|
||||
Step::TYPE_ACTION,
|
||||
$this->sendEmailAction->getKey(),
|
||||
null,
|
||||
|
Reference in New Issue
Block a user