1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
namespace Magento\Eav\Model\AttributeSetRepository;
/**
* Interceptor class for @see \Magento\Eav\Model\AttributeSetRepository
*/
class Interceptor extends \Magento\Eav\Model\AttributeSetRepository implements \Magento\Framework\Interception\InterceptorInterface
{
use \Magento\Framework\Interception\Interceptor;
public function __construct(\Magento\Eav\Model\ResourceModel\Entity\Attribute\Set $attributeSetResource, \Magento\Eav\Model\Entity\Attribute\SetFactory $attributeSetFactory, \Magento\Eav\Model\ResourceModel\Entity\Attribute\Set\CollectionFactory $collectionFactory, \Magento\Eav\Model\Config $eavConfig, \Magento\Eav\Api\Data\AttributeSetSearchResultsInterfaceFactory $searchResultFactory, \Magento\Framework\Api\ExtensionAttribute\JoinProcessorInterface $joinProcessor, ?\Magento\Framework\Api\SearchCriteria\CollectionProcessorInterface $collectionProcessor = null)
{
$this->___init();
parent::__construct($attributeSetResource, $attributeSetFactory, $collectionFactory, $eavConfig, $searchResultFactory, $joinProcessor, $collectionProcessor);
}
/**
* {@inheritdoc}
*/
public function save(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'save');
if (!$pluginInfo) {
return parent::save($attributeSet);
} else {
return $this->___callPlugins('save', func_get_args(), $pluginInfo);
}
}
/**
* {@inheritdoc}
*/
public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'getList');
if (!$pluginInfo) {
return parent::getList($searchCriteria);
} else {
return $this->___callPlugins('getList', func_get_args(), $pluginInfo);
}
}
/**
* {@inheritdoc}
*/
public function get($attributeSetId)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'get');
if (!$pluginInfo) {
return parent::get($attributeSetId);
} else {
return $this->___callPlugins('get', func_get_args(), $pluginInfo);
}
}
/**
* {@inheritdoc}
*/
public function delete(\Magento\Eav\Api\Data\AttributeSetInterface $attributeSet)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'delete');
if (!$pluginInfo) {
return parent::delete($attributeSet);
} else {
return $this->___callPlugins('delete', func_get_args(), $pluginInfo);
}
}
/**
* {@inheritdoc}
*/
public function deleteById($attributeSetId)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'deleteById');
if (!$pluginInfo) {
return parent::deleteById($attributeSetId);
} else {
return $this->___callPlugins('deleteById', func_get_args(), $pluginInfo);
}
}
}