Skip to main content

You should not use the ObjectManagerObjectManager. 

Collect your dependencies via constructer_constructor. 

In case your interface still won't be loaded, check your di.xmldi.xml and validate that a preference is available.

You should not use the ObjectManager. Collect your dependencies via constructer. In case your interface still won't be loaded, check your di.xml and validate that a preference is available.

You should not use the ObjectManager. 

Collect your dependencies via _constructor. 

In case your interface still won't be loaded, check your di.xml and validate that a preference is available.

I think he meant to say "not" use the object manager.
Source Link

You should nownot use the objectmanagerObjectManager. Collect your dependencies via constructer. In case you Interfaceyour interface still won't be loaded, check your di.xml and validate that a preference is available.

You should now use the objectmanager. Collect your dependencies via constructer. In case you Interface still won't be loaded, check your di.xml and validate that a preference is available.

You should not use the ObjectManager. Collect your dependencies via constructer. In case your interface still won't be loaded, check your di.xml and validate that a preference is available.

Source Link
David Lambauer
  • 1.1k
  • 2
  • 9
  • 25

You should now use the objectmanager. Collect your dependencies via constructer. In case you Interface still won't be loaded, check your di.xml and validate that a preference is available.