Implement root step
[MAILPOET-4523]
This commit is contained in:
committed by
John Oleksowicz
parent
55e4e53a35
commit
9028ea96ec
20
mailpoet/lib/Automation/Engine/Control/RootStep.php
Normal file
20
mailpoet/lib/Automation/Engine/Control/RootStep.php
Normal 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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user