Make steps specify required/provided subject keys

[MAILPOET-4629]
This commit is contained in:
Jan Jakes
2022-09-19 13:40:40 +02:00
committed by David Remer
parent c28d8ad79c
commit 00e8c4f3e5
6 changed files with 30 additions and 0 deletions

View File

@ -285,6 +285,11 @@ class TestAction implements Action {
$this->callback = $callback;
}
public function getSubjectKeys(): array {
return [];
}
public function isValid(array $subjects, Step $step, Workflow $workflow): bool {
return true;
}