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.
David Lambauer
- 1.1k
- 2
- 9
- 25