<?php

namespace FiloBlu\Esb\Model\Producer;

use FiloBlu\Esb\Api\Data\MessageInterface;
use FiloBlu\Esb\Api\Data\SubscriberProducerInterface;
use FiloBlu\Esb\Framework\Producer\AbstractProducer;
use Magento\Newsletter\Model\Subscriber;

/**
 * Class AbstractSubscriberProducer
 * @package FiloBlu\Esb\Model\Producer
 */
abstract class AbstractSubscriberProducer extends AbstractProducer implements SubscriberProducerInterface
{
    /**
     * @inheritDoc
     */
    abstract public function produce(Subscriber $subscriber = null) : MessageInterface;
}
