Add interface for workflow actions

[MAILPOET-4136]
This commit is contained in:
Jan Jakes
2022-03-07 11:30:25 +01:00
committed by Veljko V
parent ee6cdeceab
commit 97ad4cffb5

View File

@ -0,0 +1,11 @@
<?php declare(strict_types = 1);
namespace MailPoet\Automation\Engine\Workflows;
interface Action {
public function getKey(): string;
public function getName(): string;
public function run(Workflow $workflow, WorkflowRun $workflowRun, Step $step): void;
}