35 lines
1.5 KiB
PHP
Executable File
35 lines
1.5 KiB
PHP
Executable File
<?php
|
|
namespace Magento\Robots\Model\Config\Value;
|
|
|
|
/**
|
|
* Interceptor class for @see \Magento\Robots\Model\Config\Value
|
|
*/
|
|
class Interceptor extends \Magento\Robots\Model\Config\Value implements \Magento\Framework\Interception\InterceptorInterface
|
|
{
|
|
use \Magento\Framework\Interception\Interceptor;
|
|
|
|
public function __construct(\Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\App\Config\ScopeConfigInterface $config, \Magento\Framework\App\Cache\TypeListInterface $cacheTypeList, \Magento\Store\Model\StoreResolver $storeResolver, ?\Magento\Store\Model\StoreManagerInterface $storeManager = null, ?\Magento\Framework\Model\ResourceModel\AbstractResource $resource = null, ?\Magento\Framework\Data\Collection\AbstractDb $resourceCollection = null, array $data = [])
|
|
{
|
|
$this->___init();
|
|
parent::__construct($context, $registry, $config, $cacheTypeList, $storeResolver, $storeManager, $resource, $resourceCollection, $data);
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function afterSave()
|
|
{
|
|
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'afterSave');
|
|
return $pluginInfo ? $this->___callPlugins('afterSave', func_get_args(), $pluginInfo) : parent::afterSave();
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function save()
|
|
{
|
|
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'save');
|
|
return $pluginInfo ? $this->___callPlugins('save', func_get_args(), $pluginInfo) : parent::save();
|
|
}
|
|
}
|