|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| clearCache () | |
| addSharedInstance ($instance, $className) | |
| removeSharedInstance ($className) | |
| getFactory () | |
Public Member Functions inherited from ObjectManager | |
| __construct (FactoryInterface $factory, \Magento\Framework\ObjectManager\ConfigInterface $config, array &$sharedInstances=[]) | |
Public Member Functions inherited from ObjectManager | |
| __construct (FactoryInterface $factory, ConfigInterface $config, &$sharedInstances=[]) | |
| create ($type, array $arguments=[]) | |
| get ($type) | |
| configure (array $configuration) | |
Static Public Member Functions | |
| static | setInstance (\Magento\Framework\ObjectManagerInterface $objectManager) |
Static Public Member Functions inherited from ObjectManager | |
| static | getInstance () |
| static | setInstance (\Magento\Framework\ObjectManagerInterface $objectManager) |
Protected Attributes | |
| $_classesToDestruct | |
| $persistedInstances | |
Protected Attributes inherited from ObjectManager | |
| $_factory | |
| $_sharedInstances = [] | |
| $_config | |
Additional Inherited Members | |
Static Protected Attributes inherited from ObjectManager | |
| static | $_instance |
ObjectManager for integration test framework.
Definition at line 11 of file ObjectManager.php.
| addSharedInstance | ( | $instance, | |
| $className | |||
| ) |
Add shared instance.
| mixed | $instance | |
| string | $className |
Definition at line 90 of file ObjectManager.php.
| clearCache | ( | ) |
Clear InstanceManager cache.
Definition at line 42 of file ObjectManager.php.
| getFactory | ( | ) |
Definition at line 120 of file ObjectManager.php.
| removeSharedInstance | ( | $className | ) |
Remove shared instance.
| string | $className |
Definition at line 101 of file ObjectManager.php.
|
static |
Set objectManager.
| \Magento\Framework\ObjectManagerInterface | $objectManager |
Definition at line 112 of file ObjectManager.php.
|
protected |
Definition at line 18 of file ObjectManager.php.
|
protected |
Definition at line 26 of file ObjectManager.php.