ActionScheduler.php
3 weeks ago
AutomationController.php
2 years ago
FilterHandler.php
1 month ago
RootStep.php
2 years ago
StepHandler.php
2 months ago
StepRunController.php
1 year ago
StepRunControllerFactory.php
1 year ago
StepRunLogger.php
2 months ago
StepRunLoggerFactory.php
2 years ago
StepScheduler.php
1 year ago
SubjectLoader.php
3 years ago
SubjectTransformerHandler.php
1 year ago
TriggerHandler.php
2 years ago
index.php
3 years ago
RootStep.php
33 lines
| 1 | <?php declare(strict_types = 1); |
| 2 | |
| 3 | namespace MailPoet\Automation\Engine\Control; |
| 4 | |
| 5 | if (!defined('ABSPATH')) exit; |
| 6 | |
| 7 | |
| 8 | use MailPoet\Automation\Engine\Data\StepValidationArgs; |
| 9 | use MailPoet\Automation\Engine\Integration\Step; |
| 10 | use MailPoet\Validator\Schema\ObjectSchema; |
| 11 | |
| 12 | class RootStep implements Step { |
| 13 | public function getKey(): string { |
| 14 | return 'core:root'; |
| 15 | } |
| 16 | |
| 17 | public function getName(): string { |
| 18 | // translators: not shown to user, no need to translate |
| 19 | return __('Root step', 'mailpoet'); |
| 20 | } |
| 21 | |
| 22 | public function getArgsSchema(): ObjectSchema { |
| 23 | return new ObjectSchema(); |
| 24 | } |
| 25 | |
| 26 | public function getSubjectKeys(): array { |
| 27 | return []; |
| 28 | } |
| 29 | |
| 30 | public function validate(StepValidationArgs $args): void { |
| 31 | } |
| 32 | } |
| 33 |