From 9b2770011985d92a3c2586fa8d49d6ad286ff58f Mon Sep 17 00:00:00 2001 From: Andrew Tch Date: Sat, 2 Dec 2017 22:29:13 +0200 Subject: [PATCH] remove CompilerPassInterface from kernel It is not needed here - `build` methods is a part of `Kernel`, but `CompilerPassInterface` defines `process`. --- service_container/compiler_passes.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/service_container/compiler_passes.rst b/service_container/compiler_passes.rst index 4d8abfea7ca..502baed576b 100644 --- a/service_container/compiler_passes.rst +++ b/service_container/compiler_passes.rst @@ -17,11 +17,10 @@ Compiler passes are registered in the ``build()`` method of the application kern use App\DependencyInjection\Compiler\CustomPass; use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; - use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Kernel as BaseKernel; - class Kernel extends BaseKernel implements CompilerPassInterface + class Kernel extends BaseKernel { use MicroKernelTrait;