Skip to content

Commit

Permalink
Fixed typo and removed outdated imports
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmario authored and wouterj committed May 10, 2015
1 parent 0abbd34 commit 22d003f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cookbook/configuration/using_parameters_in_dic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,8 @@ Now, examine the results to see this closely:
In order to support this use case, the ``Configuration`` class has to
be injected with this parameter via the extension as follows::

namespace Acme\DemoBundle\DependencyInjection;
namespace AppBundle\DependencyInjection;

use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;

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

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\Config\FileLocator;

class AppExtension extends Extension
{
Expand Down

0 comments on commit 22d003f

Please sign in to comment.