File "CoreIntegration.php"

Full Path: /home/warrior1/public_html/wp-content/plugins/mailpoet/lib/Automation/Integrations/Core/CoreIntegration.php
File size: 581 bytes
MIME-type: text/x-php
Charset: utf-8

<?php declare(strict_types = 1);

namespace MailPoet\Automation\Integrations\Core;

if (!defined('ABSPATH')) exit;


use MailPoet\Automation\Engine\Integration;
use MailPoet\Automation\Engine\Registry;
use MailPoet\Automation\Integrations\Core\Actions\DelayAction;

class CoreIntegration implements Integration {
  /** @var DelayAction */
  private $delayAction;

  public function __construct(
    DelayAction $delayAction
  ) {
    $this->delayAction = $delayAction;
  }

  public function register(Registry $registry): void {
    $registry->addAction($this->delayAction);
  }
}