8000 minor #5238 Fixed typo and removed outdated imports (nomack84) · symfony/symfony-docs@306fa3d · GitHub
[go: up one dir, main page]

Skip to content

Commit 306fa3d

Browse files
committed
minor #5238 Fixed typo and removed outdated imports (nomack84)
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #5238). Discussion ---------- Fixed typo and removed outdated imports Commits ------- 22d003f Fixed typo and removed outdated imports
2 parents 0abbd34 + 22d003f commit 306fa3d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cookbook/configuration/using_parameters_in_dic.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ Now, examine the results to see this closely:
9393
In order to support this use case, the ``Configuration`` class has to
9494
be injected with this parameter via the extension as follows::
9595

96-
namespace Acme\DemoBundle\DependencyInjection;
96+
namespace AppBundle\DependencyInjection;
9797

98-
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
9998
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
10099
use Symfony\Component\Config\Definition\ConfigurationInterface;
101100

@@ -130,9 +129,7 @@ And set it in the constructor of ``Configuration`` via the ``Extension`` class::
130129
namespace AppBundle\DependencyInjection;
131130

132131
use Symfony\Component\DependencyInjection\ContainerBuilder;
133-
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
134132
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
135-
use Symfony\Component\Config\FileLocator;
136133

137134
class AppExtension extends Extension
138135
{

0 commit comments

Comments
 (0)
0