Lines Matching refs:get
19 $service = new MockService($container->get(MockDependency::class));
30 $service = $container->get(MockService::class);
34 $dependency = $container->get(MockDependency::class);
64 $container->get('foo');
75 $container->get(\stdClass::class);
83 return new MockService($container->get(MockService::class));
87 return new MockService($container->get(MockService::class));
93 $container->get(MockService::class);
101 return $container->get('foo');
107 $this->assertEquals('bar', $container->get('foo'));
108 $this->assertEquals('bar', $container->get('baz'));