Refactor subscription segments selection from old model to api

[MAILPOET-3297]
This commit is contained in:
Rostislav Wolny
2020-12-28 11:17:47 +01:00
committed by Veljko V
parent af574f7e1b
commit 441cb86a76
3 changed files with 24 additions and 20 deletions

View File

@@ -190,4 +190,8 @@ class FormEntity {
}
return $listSelection;
}
public function getSettingsSegmentIds(): array {
return $this->settings['segments'] ?? [];
}
}