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
<?php
namespace Magento\Directory\Model\AllowedCountries;
/**
* Interceptor class for @see \Magento\Directory\Model\AllowedCountries
*/
class Interceptor extends \Magento\Directory\Model\AllowedCountries implements \Magento\Framework\Interception\InterceptorInterface
{
use \Magento\Framework\Interception\Interceptor;
public function __construct(\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Store\Model\StoreManagerInterface $storeManager)
{
$this->___init();
parent::__construct($scopeConfig, $storeManager);
}
/**
* {@inheritdoc}
*/
public function getAllowedCountries($scope = 'website', $scopeCode = null)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'getAllowedCountries');
if (!$pluginInfo) {
return parent::getAllowedCountries($scope, $scopeCode);
} else {
return $this->___callPlugins('getAllowedCountries', func_get_args(), $pluginInfo);
}
}
/**
* {@inheritdoc}
*/
public function makeCountriesUnique(array $allowedCountries)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'makeCountriesUnique');
if (!$pluginInfo) {
return parent::makeCountriesUnique($allowedCountries);
} else {
return $this->___callPlugins('makeCountriesUnique', func_get_args(), $pluginInfo);
}
}
/**
* {@inheritdoc}
*/
public function getCountriesFromConfig($scope, $scopeCode)
{
$pluginInfo = $this->pluginList->getNext($this->subjectType, 'getCountriesFromConfig');
if (!$pluginInfo) {
return parent::getCountriesFromConfig($scope, $scopeCode);
} else {
return $this->___callPlugins('getCountriesFromConfig', func_get_args(), $pluginInfo);
}
}
}