Home
last modified time | relevance | path

Searched refs:dependency (Results 1 – 3 of 3) sorted by relevance

/web-bugs/tests/Unit/Container/
H A DMockService.php10 private $dependency; variable in App\\Tests\\Unit\\Container\\MockService
13 public function __construct(MockDependency $dependency) argument
15 $this->dependency = $dependency;
20 return $this->dependency;
H A DContainerTest.php34 $dependency = $container->get(MockDependency::class);
35 $this->assertInstanceOf(MockDependency::class, $dependency);
38 $this->assertSame($dependency, $service->getDependency());
/web-bugs/docs/
H A Dcontainer.md3 The PHP bug tracker application ships with a simplistic dependency injection
44 The `$pdo` object in the example is a dependency which is injected via the

Completed in 6 milliseconds