File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
components/dependency_injection Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Compiling the Container
6
6
7
7
The service container can be compiled for various reasons. These reasons
8
8
include checking for any potential issues such as circular references and
9
- making the container more efficient by resolving parameters and removing
9
+ making the container more efficient by resolving parameters and removing
10
10
unused services.
11
11
12
12
It is compiled by running::
@@ -170,7 +170,7 @@ the XML configuration::
170
170
return 'http://www.example.com/symfony/schema/';
171
171
}
172
172
173
- ..note::
173
+ .. note ::
174
174
175
175
XSD validation is optional, returning ``false `` from the ``getXsdValidationBasePath ``
176
176
method will disable it.
@@ -192,7 +192,7 @@ The XML version of the config would then look like this:
192
192
193
193
</container >
194
194
195
- ..note::
195
+ .. note ::
196
196
197
197
In the Symfony2 full stack framework there is a base Extension class which
198
198
implements these methods as well as a shortcut method for processing the
@@ -371,7 +371,7 @@ but getting an up to date configuration whilst developing your application::
371
371
// ...
372
372
$container->compile();
373
373
374
- if(!$isDebug)
374
+ if (!$isDebug) {
375
375
$dumper = new PhpDumper($container);
376
376
file_put_contents($file, $dumper->dump(array('class' => 'MyCachedContainer')));
377
377
}
You can’t perform that action at this time.
0 commit comments