Why is this one of the Magento tricky questions? Because ObjectManager is never used directly in classes/templates. A Magento developer should know that, if referenced directly, ObjectManager will break dependency injection principles, make code testing more difficult, and breach best coding practices.
Answers (0)