Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1b61013

Browse files
committed
minor #7709 [DependencyInjection] Add missing use in the example (michaelperrin)
This PR was merged into the 2.7 branch. Discussion ---------- [DependencyInjection] Add missing use in the example Commits ------- a9e86d4 [DependencyInjection] Add missing use in the example
2 parents e05e525 + a9e86d4 commit 1b61013

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

service_container/definitions.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ fetched from the container::
7575

7676
use AppBundle\Config\DoctrineConfigManager;
7777
use Symfony\Component\DependencyInjection\Definition;
78+
use Symfony\Component\DependencyInjection\Reference;
7879

7980
$definition = new Definition(DoctrineConfigManager::class, array(
8081
new Reference('doctrine'), // a reference to another service

0 commit comments

Comments
 (0)