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):
30
30
31
31
This is how the extension of an AcmeHelloBundle should look like::
32
32
33
- // src/Acme/HelloBundle/ DependencyInjection/AcmeHelloExtension.php
33
+ // src/DependencyInjection/AcmeHelloExtension.php
34
34
namespace Acme\HelloBundle\DependencyInjection;
35
35
36
36
use Symfony\Component\DependencyInjection\ContainerBuilder;
@@ -87,7 +87,7 @@ but it is more common if you put these definitions in a configuration file
87
87
(using the YAML, XML or PHP format).
88
88
89
89
For 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::
91
91
92
92
use Symfony\Component\Config\FileLocator;
93
93
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
@@ -97,7 +97,7 @@ For instance, assume you have a file called ``services.xml`` in the
97
97
{
98
98
$loader = new XmlFileLoader(
99
99
$container,
100
- new FileLocator(__DIR__.'/../config')
100
+ new FileLocator(__DIR__.'/../../ config')
101
101
);
102
102
$loader->load('services.xml');
103
103
}
You can’t perform that action at this time.
0 commit comments