Lines Matching refs:Container
3 namespace App\Tests\Unit\Container;
5 use App\Container\Container; alias
6 use App\Container\Exception\ContainerException;
7 use App\Container\Exception\EntryNotFoundException;
15 $container = new Container();
18 $container->set(MockService::class, function (Container $container) {
25 $container->set(MockDependency::class, function (Container $container) {
46 $container = new Container();
50 $container->set(MockDependency::class, function (Container $container) {
60 $container = new Container();
69 $container = new Container();
80 $container = new Container();
82 $container->set(MockService::class, function (Container $container) {
86 $container->set(MockService::class, function (Container $container) {
98 $container = new Container([
100 'baz' => function (Container $container) {