File "CategoryInterface.php"

Full Path: /home/warrior1/public_html/languages/wp-content/plugins/mailpoet/lib/Newsletter/Shortcodes/Categories/CategoryInterface.php
File size: 497 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace MailPoet\Newsletter\Shortcodes\Categories;

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


use MailPoet\Entities\NewsletterEntity;
use MailPoet\Entities\SendingQueueEntity;
use MailPoet\Entities\SubscriberEntity;

interface CategoryInterface {
  public function process(
    array $shortcodeDetails,
    NewsletterEntity $newsletter = null,
    SubscriberEntity $subscriber = null,
    SendingQueueEntity $queue = null,
    string $content = '',
    bool $wpUserPreview = false
  ): ?string;
}