<?php
namespace Eadesigndev\Pdfgenerator\Model\Email\Message;

/**
 * Interceptor class for @see \Eadesigndev\Pdfgenerator\Model\Email\Message
 */
class Interceptor extends \Eadesigndev\Pdfgenerator\Model\Email\Message implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Laminas\Mime\PartFactory $partFactory, \Laminas\Mime\MessageFactory $mimeMessageFactory, $charset = 'utf-8')
    {
        $this->___init();
        parent::__construct($partFactory, $mimeMessageFactory, $charset);
    }

    /**
     * {@inheritdoc}
     */
    public function setBody($body)
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'setBody');
        return $pluginInfo ? $this->___callPlugins('setBody', func_get_args(), $pluginInfo) : parent::setBody($body);
    }
}
