From 7bf7efa135849be69836bb847505d6ce7d04d14b Mon Sep 17 00:00:00 2001 From: Loupasakis Kostas Date: Wed, 13 Jan 2016 13:48:04 +0200 Subject: [PATCH 1/2] Docs do not match functionality --- cookbook/bundles/configuration.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbook/bundles/configuration.rst b/cookbook/bundles/configuration.rst index 7d902e1c56e..f1cbf59e61f 100644 --- a/cookbook/bundles/configuration.rst +++ b/cookbook/bundles/configuration.rst @@ -294,8 +294,8 @@ The ``config:dump-reference`` command dumps the default configuration of a bundle in the console using the Yaml format. As long as your bundle's configuration is located in the standard location -(``YourBundle\DependencyInjection\Configuration``) and does not require -arguments to be passed to the constructor it will work automatically. If you +(``YourBundle\DependencyInjection\Configuration``) and does not extend +its constructor it will work automatically. If you have something different, your ``Extension`` class must override the :method:`Extension::getConfiguration() ` method and return an instance of your ``Configuration``. From 42431c5488315b30eae18035bb55f91f46c60253 Mon Sep 17 00:00:00 2001 From: Loupasakis Kostas Date: Tue, 26 Jan 2016 13:13:31 +0200 Subject: [PATCH 2/2] Changed text match suggestions --- cookbook/bundles/configuration.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbook/bundles/configuration.rst b/cookbook/bundles/configuration.rst index f1cbf59e61f..fed4e5c20eb 100644 --- a/cookbook/bundles/configuration.rst +++ b/cookbook/bundles/configuration.rst @@ -294,8 +294,8 @@ The ``config:dump-reference`` command dumps the default configuration of a bundle in the console using the Yaml format. As long as your bundle's configuration is located in the standard location -(``YourBundle\DependencyInjection\Configuration``) and does not extend -its constructor it will work automatically. If you +(``YourBundle\DependencyInjection\Configuration``) and does not have +a constructor it will work automatically. If you have something different, your ``Extension`` class must override the :method:`Extension::getConfiguration() ` method and return an instance of your ``Configuration``.