<?php

namespace FiloBlu\Esb\Model\Producer;

use FiloBlu\Esb\Api\Data\MessageInterface;
use FiloBlu\Esb\Api\Data\ProductProducerInterface;
use FiloBlu\Esb\Framework\Producer\AbstractProducer;
use Magento\Catalog\Model\Product;

/**
 * Class AbstractProductProducer
 * @package FiloBlu\Esb\Model\Producer
 */
abstract class AbstractProductProducer extends AbstractProducer implements ProductProducerInterface
{
    /**
     * @inheritDoc
     */
    abstract public function produce(Product $product = null): MessageInterface;
}
