|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Namespaces | |
| Code | |
| Config | |
| Definition | |
| Fixture | |
| ObjectManager | |
| PluginList | |
| Test | |
Data Structures | |
| class | AbstractPlugin |
| interface | ConfigInterface |
| interface | DefinitionInterface |
| class | GeneralTest |
| interface | InterceptorInterface |
| interface | PluginListInterface |
| class | TwoPluginTest |
Functions | |
| ___init () | |
| ___callParent ($method, array $arguments) | |
| __sleep () | |
| __wakeup () | |
| ___callPlugins ($method, array $arguments, array $pluginInfo) | |
Variables | |
| trait | Interceptor |
Interception config. Tells whether plugins have been added for type.
Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.
Plugin method definitions. Provide the list of interception methods in specified plugin.
Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.
Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.
List of plugins configured in application
Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.
| Magento\Framework\Interception\___callParent | ( | $method, | |
| array | $arguments | ||
| ) |
Calls parent class method
| string | $method | |
| array | $arguments |
Definition at line 56 of file Interceptor.php.
|
protected |
Calls plugins for a given method.
| string | $method | |
| array | $arguments | |
| array | $pluginInfo |
Definition at line 98 of file Interceptor.php.
| Magento\Framework\Interception\___init | ( | ) |
| Magento\Framework\Interception\__sleep | ( | ) |
Calls parent class sleep if defined, otherwise provides own implementation
Definition at line 66 of file Interceptor.php.
| Magento\Framework\Interception\__wakeup | ( | ) |
| trait Interceptor |
Interceptor trait that contains the common logic for all interceptor classes.
A trait is used because our interceptor classes need to extend the class that they are intercepting.
Any class using this trait is required to implement \Magento\Framework\Interception\InterceptorInterface
Definition at line 20 of file Interceptor.php.