File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ follow these conventions (but later you'll learn how to skip them if needed):
3030
3131This is how the extension of an AcmeHelloBundle should look like::
3232
33- // src/Acme/HelloBundle/ DependencyInjection/AcmeHelloExtension.php
33+ // src/DependencyInjection/AcmeHelloExtension.php
3434 namespace Acme\HelloBundle\DependencyInjection;
3535
3636 use Symfony\Component\DependencyInjection\ContainerBuilder;
@@ -87,7 +87,7 @@ but it is more common if you put these definitions in a configuration file
8787(using the YAML, XML or PHP format).
8888
8989For instance, assume you have a file called ``services.xml `` in the
90- ``Resources/ config/ `` directory of your bundle, your ``load() `` method looks like::
90+ ``config/ `` directory of your bundle, your ``load() `` method looks like::
9191
9292 use Symfony\Component\Config\FileLocator;
9393 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
@@ -97,7 +97,7 @@ For instance, assume you have a file called ``services.xml`` in the
9797 {
9898 $loader = new XmlFileLoader(
9999 $container,
100- new FileLocator(__DIR__.'/../config')
100+ new FileLocator(__DIR__.'/../../ config')
101101 );
102102 $loader->load('services.xml');
103103 }
You can’t perform that action at this time.
0 commit comments