Skip to content

Commit 4905190

Browse files
committed
Remove example of register a service where its id match to its class
1 parent e07a221 commit 4905190

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

service_container/definitions.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ There are some helpful methods for working with the service definitions::
3838
// shortcut for the previous method
3939
$container->register('app.number_generator', \AppBundle\NumberGenerator::class);
4040

41-
// or create a service whose id matches its class
42-
$container->register(\AppBundle\NumberGenerator::class);
43-
4441
Working with a Definition
4542
-------------------------
4643

0 commit comments

Comments
 (0)