We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4abe5da commit f53bf0aCopy full SHA for f53bf0a
tests/FunctionalTest/ContainerInteractionTest.php
@@ -37,7 +37,7 @@ public function phpdi_should_get_entries_from_symfony()
37
$phpdiContainer->set(
38
'foo',
39
\DI\object(Class1::class)
40
- ->constructor(\DI\link('class2'))
+ ->constructor(\DI\get('class2'))
41
);
42
43
$class1 = $container->get('foo');
@@ -69,7 +69,7 @@ public function phpdi_aliases_can_reference_symfony_entries()
69
/** @var Container $phpdiContainer */
70
$phpdiContainer = $container->getFallbackContainer();
71
72
- $phpdiContainer->set('foo', \DI\link('class2'));
+ $phpdiContainer->set('foo', \DI\get('class2'));
73
74
$class2 = $container->get('foo');
75
0 commit comments