I recommend typehinting Illuminate\Container\Container as in the Illuminate\Foundation\Application class it binds itself to the Container class with $this->instance('Illuminate\Container\Container', $this);
What I don't understand is, neither Dependency Injection, nor IoC is working at all. I've tried loads of things now, like extending the Laravel TestCase and running the main PHPUnit from the workbench directory, but I simply can't get it working. Any hints?
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us