Improved Import / Export MAJOR UPDATE 3.0 - Excel, Json, XML, APIs, automation, mapping, attributes, consecutive run and more EXPLORE


Magento 2 ObjectManager Use Cases

- Magento 2

Magento 2 Development; Magento 2 tutorial

The biggest problem regarding ObjectManager in Magento 2 is that you can fully leverage the useful technology, but it is not recommended to do so. Although the direct use of the ObjectManager in classes/templates is possible (popular) and Magento 2 core files often call the ObjectManager directly, Alan Kent asks the community members not to do so. Below, you can find several reasons to avoid using ObjectManager in Magento 2 as well as a few exceptions. Continue Reading