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.
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.