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;