Implement root step

[MAILPOET-4523]
This commit is contained in:
Jan Jakes
2022-09-08 15:52:23 +02:00
committed by John Oleksowicz
parent 55e4e53a35
commit 9028ea96ec
3 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php declare(strict_types = 1);
namespace MailPoet\Automation\Engine\Control;
use MailPoet\Automation\Engine\Workflows\Step;
use MailPoet\Validator\Schema\ObjectSchema;
class RootStep implements Step {
public function getKey(): string {
return 'core:root';
}
public function getName(): string {
return __('Root step', 'mailpoet');
}
public function getArgsSchema(): ObjectSchema {
return new ObjectSchema();
}
}