cancel
Showing results for 
Search instead for 
Did you mean: 

What is the technical reason of not to use object manager directly in our code ?

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

What is the technical reason of not to use object manager directly in our code ?

Magento suggest that do not use object manager directly in our code. Can anybody guides me what is the exact reason for that ? 


1 REPLY 1

Re: What is the technical reason of not to use object manager directly in our code ?

Hello @maratheprash 

 

Check https://magento.stackexchange.com/questions/117098/magento-2-to-use-or-not-to-use-the-objectmanager-...

 

Hope it helps.

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution"