Add interface for workflow triggers
[MAILPOET-4136]
This commit is contained in:
11
mailpoet/lib/Automation/Engine/Workflows/Trigger.php
Normal file
11
mailpoet/lib/Automation/Engine/Workflows/Trigger.php
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user