8000 Fixed typo and removed outdated imports · symfony/symfony-docs@22d003f · GitHub
[go: up one dir, main page]

Skip to content

Commit 22d003f

Browse files
alvarezmariowouterj
authored andcommitted
Fixed typo and removed outdated imports
1 parent 0abbd34 commit 22d003f

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