Add basic workflow update controller with status change caps
[MAILPOET-4454]
This commit is contained in:
@@ -61,6 +61,10 @@ class Workflow {
|
||||
return $this->status;
|
||||
}
|
||||
|
||||
public function setStatus(string $status): void {
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
public function getCreatedAt(): DateTimeImmutable {
|
||||
return $this->createdAt;
|
||||
}
|
||||
|
Reference in New Issue
Block a user