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

Skip to content

Commit a9e86d4

Browse files
author
Michaël Perrin
committed
[DependencyInjection] Add missing use in the example
1 parent 09cc5fc commit a9e86d4

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)