Skip to content

Commit 9b27700

Browse files
authored
remove CompilerPassInterface from kernel
It is not needed here - `build` methods is a part of `Kernel`, but `CompilerPassInterface` defines `process`.
1 parent bd9a614 commit 9b27700

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

service_container/compiler_passes.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ Compiler passes are registered in the ``build()`` method of the application kern
1717

1818
use App\DependencyInjection\Compiler\CustomPass;
1919
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
20-
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
2120
use Symfony\Component\DependencyInjection\ContainerBuilder;
2221
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
2322

24-
class Kernel extends BaseKernel implements CompilerPassInterface
23+
class Kernel extends BaseKernel
2524
{
2625
use MicroKernelTrait;
2726

0 commit comments

Comments
 (0)