Files
piratepoet/mailpoet/lib/Automation/Engine/Control/StepRunner.php
Jan Jakes 4aa323b612 Extract data-carrying classes to dedicated namespace
We need a separation of "Step" as an interface vs. "Step" as a serializable data structure.

[MAILPOET-4515]
2022-08-08 13:23:57 +02:00

12 lines
331 B
PHP

<?php declare(strict_types = 1);
namespace MailPoet\Automation\Engine\Control;
use MailPoet\Automation\Engine\Data\Step;
use MailPoet\Automation\Engine\Data\Workflow;
use MailPoet\Automation\Engine\Data\WorkflowRun;
interface StepRunner {
public function run(Step $step, Workflow $workflow, WorkflowRun $workflowRun): void;
}