Make steps specify required/provided subject keys
[MAILPOET-4629]
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user