Skip to content

Commit d81fb63

Browse files
committed
minor #8814 remove CompilerPassInterface from kernel (andrewtch)
This PR was merged into the 4.0 branch. Discussion ---------- remove CompilerPassInterface from kernel It is not needed here - `build` methods is a part of `Kernel`, but `CompilerPassInterface` defines `process`. Commits ------- 9b27700 remove CompilerPassInterface from kernel
2 parents 470d22e + 9b27700 commit d81fb63

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)