Skip to content

Commit d186c27

Browse files
Julien Pauliweaverryan
Julien Pauli
authored andcommitted
Missing interface in code example
1 parent 5c9b494 commit d186c27

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/dependency_injection/compilation.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,9 @@ something needed in everyday use.
287287
The compiler pass must have the ``process`` method which is passed the container
288288
being compiled::
289289

290-
class CustomCompilerPass
290+
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
291+
292+
class CustomCompilerPass implements CompilerPassInterface
291293
{
292294
public function process(ContainerBuilder $container)
293295
{

0 commit comments

Comments
 (0)