Add schema definition for automation steps

[MAILPOET-4515]
This commit is contained in:
Jan Jakes
2022-07-29 17:00:17 +02:00
committed by Veljko V
parent 0dbfb196e2
commit 1f6ce667e5
4 changed files with 36 additions and 0 deletions

View File

@@ -2,8 +2,12 @@
namespace MailPoet\Automation\Engine\Workflows;
use MailPoet\Validator\Schema\ObjectSchema;
interface Step {
public function getKey(): string;
public function getName(): string;
public function getArgsSchema(): ObjectSchema;
}