Skip to content

Commit a479570

Browse files
committed
Merge pull request #2181 from vicb/dic/prepext
[DI] PrependExtensionInterface sync doc with latest Sf2 changes
2 parents 1b4086b + bbddf52 commit a479570

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

components/dependency_injection/compilation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,9 @@ Prepending Configuration passed to the Extension
281281
The ability to prepend the configuration of a bundle is new in Symfony 2.2.
282282

283283
An Extension can prepend the configuration of any Bundle before the ``load()``
284-
method is called by implementing :class:`Symfony\\Component\\DependencyInjection\\Compiler\\PrependExtensionInterface`::
284+
method is called by implementing :class:`Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface`::
285285

286-
use Symfony\Component\DependencyInjection\Compiler\PrependExtensionInterface;
286+
use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
287287
// ...
288288

289289
class AcmeDemoExtension implements ExtensionInterface, PrependExtensionInterface

cookbook/bundles/prepend_extension.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ multiple Bundles. Or it can be used to enable an optional feature that depends
2323
on another Bundle being loaded as well.
2424

2525
To give an Extension the power to do this, it needs to implement
26-
:class:`Symfony\\Component\\DependencyInjection\\Compiler\\PrependExtensionInterface`::
26+
:class:`Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface`::
2727

2828
// src/Acme/HelloBundle/DependencyInjection/AcmeHelloExtension.php
2929
namespace Acme\HelloBundle\DependencyInjection;
3030

3131
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
32-
use Symfony\Component\DependencyInjection\PrependExtensionInterface;
32+
use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
3333
use Symfony\Component\DependencyInjection\ContainerBuilder;
3434

3535
class AcmeHelloExtension extends Extension implements PrependExtensionInterface
@@ -42,7 +42,7 @@ To give an Extension the power to do this, it needs to implement
4242
}
4343
}
4444

45-
Inside the :method:`Symfony\\Component\\DependencyInjection\\Compiler\\PrependExtensionInterface::prepend`
45+
Inside the :method:`Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface::prepend`
4646
method, developers have full access to the :class:`Symfony\\Component\\DependencyInjection\\ContainerBuilder`
4747
instance just before the :method:`Symfony\\Component\\DependencyInjection\\Extension\\ExtensionInterface::load`
4848
method is called on each of the registered Bundle Extensions. In order to

0 commit comments

Comments
 (0)