Add basic workflow step saving to workflow update API
[MAILPOET-4420]
This commit is contained in:
@@ -82,6 +82,11 @@ class Workflow {
|
||||
return $this->steps;
|
||||
}
|
||||
|
||||
/** @param array<string, Step> $steps */
|
||||
public function setSteps(array $steps): void {
|
||||
$this->steps = $steps;
|
||||
}
|
||||
|
||||
public function getStep(string $id): ?Step {
|
||||
return $this->steps[$id] ?? null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user