diff --git a/cookbook/service_container/shared.rst b/cookbook/service_container/shared.rst index 92844d1958f..62ef094f426 100644 --- a/cookbook/service_container/shared.rst +++ b/cookbook/service_container/shared.rst @@ -36,9 +36,9 @@ in your service definition: .. code-block:: php + // app/config/services.php use Symfony\Component\DependencyInjection\Definition; - // app/config/services.php $definition = new Definition('...'); $definition->setShared(false);