Update the status

[MAILPOET-3087]
This commit is contained in:
Pavel Dohnal
2020-08-18 10:52:17 +02:00
committed by Veljko V
parent d9124a368a
commit c878bb9ab0
6 changed files with 122 additions and 3 deletions

View File

@@ -125,6 +125,13 @@ class FormEntity {
$this->status = $status;
}
/**
* @return string
*/
public function getStatus(): string {
return $this->status;
}
public function toArray(): array {
return [
'id' => $this->getId(),
@@ -132,6 +139,7 @@ class FormEntity {
'body' => $this->getBody(),
'settings' => $this->getSettings(),
'styles' => $this->getStyles(),
'status' => $this->getStatus(),
'created_at' => $this->getCreatedAt(),
'updated_at' => $this->getUpdatedAt(),
'deleted_at' => $this->getDeletedAt(),