Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (ReaderInterface $reader, ScopeInterface $configScope, CacheInterface $cache, RelationsInterface $relations, ConfigInterface $omConfig, DefinitionInterface $definitions, ObjectManagerInterface $objectManager, ClassDefinitions $classDefinitions, array $scopePriorityScheme=['global'], $cacheId='plugins', SerializerInterface $serializer=null) | |
getPlugin ($type, $code) | |
getNext ($type, $method, $code='__self') | |
merge (array $config) | |
![]() | |
__construct (\Magento\Framework\Config\ReaderInterface $reader, \Magento\Framework\Config\ScopeInterface $configScope, \Magento\Framework\Config\CacheInterface $cache, $cacheId, SerializerInterface $serializer=null) | |
get ($path=null, $default=null) | |
![]() | |
__construct (ReaderInterface $reader, CacheInterface $cache, $cacheId, SerializerInterface $serializer=null) | |
merge (array $config) | |
get ($path=null, $default=null) | |
reset () | |
Protected Member Functions | |
_inheritPlugins ($type) | |
_sort ($itemA, $itemB) | |
_loadScopedData () | |
isCurrentScope ($scopeCode) | |
getClassDefinitions () | |
![]() | |
_loadScopedData () | |
![]() | |
initData () | |
Protected Attributes | |
$_inherited = [] | |
$_processed | |
$_omConfig | |
$_relations | |
$_definitions | |
$_classDefinitions | |
$_objectManager | |
$_pluginInstances = [] | |
![]() | |
$_configScope | |
$_reader | |
$_cache | |
$_cacheId | |
$_scopePriorityScheme = [] | |
$_loadedScopes = [] | |
![]() | |
$_reader | |
$_cache | |
$_cacheId | |
$cacheTags = [] | |
$_data = [] | |
Plugin config, provides list of plugins for a type
@SuppressWarnings(PHPMD.CouplingBetweenObjects)
Definition at line 26 of file PluginList.php.
__construct | ( | ReaderInterface | $reader, |
ScopeInterface | $configScope, | ||
CacheInterface | $cache, | ||
RelationsInterface | $relations, | ||
ConfigInterface | $omConfig, | ||
DefinitionInterface | $definitions, | ||
ObjectManagerInterface | $objectManager, | ||
ClassDefinitions | $classDefinitions, | ||
array | $scopePriorityScheme = ['global'] , |
||
$cacheId = 'plugins' , |
|||
SerializerInterface | $serializer = null |
||
) |
Constructor
ReaderInterface | $reader | |
ScopeInterface | $configScope | |
CacheInterface | $cache | |
RelationsInterface | $relations | |
ConfigInterface | $omConfig | |
DefinitionInterface | $definitions | |
ObjectManagerInterface | $objectManager | |
ClassDefinitions | $classDefinitions | |
array | $scopePriorityScheme | |
string | null | $cacheId | |
SerializerInterface | null | $serializer | @SuppressWarnings(PHPMD.ExcessiveParameterList) |
Definition at line 106 of file PluginList.php.
|
protected |
Collect parent types configuration for requested type
string | $type |
Definition at line 138 of file PluginList.php.
|
protected |
Load configuration for current scope
Definition at line 280 of file PluginList.php.
|
protected |
Sort items
array | $itemA | |
array | $itemB |
Definition at line 225 of file PluginList.php.
|
protected |
getNext | ( | $type, | |
$method, | |||
$code = '__self' |
|||
) |
Retrieve next plugins in chain
string | $type | |
string | $method | |
string | $code |
Implements PluginListInterface.
Definition at line 264 of file PluginList.php.
getPlugin | ( | $type, | |
$code | |||
) |
Retrieve plugin Instance
string | $type | |
string | $code |
Implements PluginListInterface.
Definition at line 246 of file PluginList.php.
|
protected |
Whether scope code is current scope code
string | $scopeCode |
Definition at line 337 of file PluginList.php.
merge | ( | array | $config | ) |
Merge configuration
array | $config |
Implements DataInterface.
Definition at line 358 of file PluginList.php.
|
protected |
Definition at line 68 of file PluginList.php.
|
protected |
Definition at line 61 of file PluginList.php.
|
protected |
Definition at line 33 of file PluginList.php.
|
protected |
Definition at line 73 of file PluginList.php.
|
protected |
Definition at line 47 of file PluginList.php.
|
protected |
Definition at line 78 of file PluginList.php.
|
protected |
Definition at line 40 of file PluginList.php.
|
protected |
Definition at line 54 of file PluginList.php.