Skip to content

Commit 89e2427

Browse files
committed
minor #9059 Missing CompilerPassInterface (grzonu)
This PR was merged into the 4.0 branch. Discussion ---------- Missing CompilerPassInterface There are missing implement CompilerPassInterface to this example work properly. Commits ------- 7369002 Missing CompilerPassInterface
2 parents 62b755a + 7369002 commit 89e2427

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bundles/override.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ example, the implementing class for the ``original-service-id`` is changed to
5656
// ...
5757
+ use App\Service\YourService;
5858
+ use Symfony\Component\DependencyInjection\ContainerBuilder;
59+
+ use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
5960
60-
class Kernel extends BaseKernel
61+
class Kernel extends BaseKernel implements CompilerPassInterface
6162
{
6263
+ public function process(ContainerBuilder $container)
6364
+ {

0 commit comments

Comments
 (0)