@@ -44,16 +44,16 @@ and can be registered with the container with::
4444
4545 $container->registerExtension($extension);
4646
47- The main work of the extension is done in the ``load `` method. In the ``load ``
47+ The main work of the extension is done in the ``load() `` method. In the ``load() ``
4848method you can load configuration from one or more configuration files as
4949well as manipulate the container definitions using the methods shown in
5050:doc: `/service_container/definitions `.
5151
52- The ``load `` method is passed a fresh container to set up, which is then
52+ The ``load() `` method is passed a fresh container to set up, which is then
5353merged afterwards into the container it is registered with. This allows
5454you to have several extensions managing container definitions independently.
5555The extensions do not add to the containers configuration when they are
56- added but are processed when the container's ``compile `` method is called.
56+ added but are processed when the container's ``compile() `` method is called.
5757
5858A very simple extension may just load configuration files into the container::
5959
@@ -85,7 +85,7 @@ sections of config files loaded directly into the container as being for
8585a particular extension. These sections on the config will not be processed
8686directly by the container but by the relevant Extension.
8787
88- The Extension must specify a ``getAlias `` method to implement the interface::
88+ The Extension must specify a ``getAlias() `` method to implement the interface::
8989
9090 // ...
9191
@@ -100,7 +100,7 @@ The Extension must specify a ``getAlias`` method to implement the interface::
100100 }
101101
102102For YAML configuration files specifying the alias for the extension as a
103- key will mean that those values are passed to the Extension's ``load `` method:
103+ key will mean that those values are passed to the Extension's ``load() `` method:
104104
105105.. code-block :: yaml
106106
@@ -133,7 +133,7 @@ are loaded::
133133 or an exception will be thrown.
134134
135135The values from those sections of the config files are passed into the first
136- argument of the ``load `` method of the extension::
136+ argument of the ``load() `` method of the extension::
137137
138138 public function load(array $configs, ContainerBuilder $container)
139139 {
@@ -190,7 +190,7 @@ the XML configuration::
190190
191191.. note ::
192192
193- XSD validation is optional, returning ``false `` from the ``getXsdValidationBasePath ``
193+ XSD validation is optional, returning ``false `` from the ``getXsdValidationBasePath() ``
194194 method will disable it.
195195
196196The XML version of the config would then look like this:
@@ -316,7 +316,7 @@ interface. The compiler pass gives you an opportunity to manipulate the
316316service definitions that have been compiled. This can be very powerful,
317317but is not something needed in everyday use.
318318
319- The compiler pass must have the ``process `` method which is passed the container
319+ The compiler pass must have the ``process() `` method which is passed the container
320320being compiled::
321321
322322 use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
0 commit comments