geno/wp-content/plugins/mailpoet/lib/Automation/Engine/Integration/Trigger.php

15 lines
303 B
PHP
Raw Normal View History

2024-02-01 17:24:18 +05:30
<?php declare(strict_types = 1);
namespace MailPoet\Automation\Engine\Integration;
if (!defined('ABSPATH')) exit;
use MailPoet\Automation\Engine\Data\StepRunArgs;
interface Trigger extends Step {
public function registerHooks(): void;
public function isTriggeredBy(StepRunArgs $args): bool;
}