26 lines
1.2 KiB
PHP
Executable File
26 lines
1.2 KiB
PHP
Executable File
<?php
|
|
namespace Magento\Newsletter\Console\Command\TemplateCheckCommand;
|
|
|
|
/**
|
|
* Interceptor class for @see \Magento\Newsletter\Console\Command\TemplateCheckCommand
|
|
*/
|
|
class Interceptor extends \Magento\Newsletter\Console\Command\TemplateCheckCommand implements \Magento\Framework\Interception\InterceptorInterface
|
|
{
|
|
use \Magento\Framework\Interception\Interceptor;
|
|
|
|
public function __construct(\Magento\Email\Model\Template\VariableCompatibilityChecker $compatibilityChecker, \Magento\Email\Model\ResourceModel\Template\CollectionFactory $templateCollection, \Magento\Newsletter\Model\ResourceModel\Template\CollectionFactory $newsletterCollectionFactory, ?string $name = null)
|
|
{
|
|
$this->___init();
|
|
parent::__construct($compatibilityChecker, $templateCollection, $newsletterCollectionFactory, $name);
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function run(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output)
|
|
{
|
|
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'run');
|
|
return $pluginInfo ? $this->___callPlugins('run', func_get_args(), $pluginInfo) : parent::run($input, $output);
|
|
}
|
|
}
|