From 49051902030e1af24f1f626052aecbcc723042a0 Mon Sep 17 00:00:00 2001 From: Laurent VOULLEMIER Date: Sun, 15 Jul 2018 08:56:55 +0200 Subject: [PATCH] Remove example of register a service where its id match to its class --- service_container/definitions.rst | 3 --- 1 file changed, 3 deletions(-) diff --git a/service_container/definitions.rst b/service_container/definitions.rst index 29db23cd090..b47ea9e143e 100644 --- a/service_container/definitions.rst +++ b/service_container/definitions.rst @@ -38,9 +38,6 @@ There are some helpful methods for working with the service definitions:: // shortcut for the previous method $container->register('app.number_generator', \AppBundle\NumberGenerator::class); - // or create a service whose id matches its class - $container->register(\AppBundle\NumberGenerator::class); - Working with a Definition -------------------------