Add interface for workflow triggers

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

View File

@ -0,0 +1,11 @@
<?php declare(strict_types = 1);
namespace MailPoet\Automation\Engine\Workflows;
interface Trigger {
public function getKey(): string;
public function getName(): string;
public function registerHooks(): void;
}