Skip to content

Commit 7369002

Browse files
authored
Missing CompilerPassInterface
There are missing implement CompilerPassInterface to this example work properly.
1 parent 62b755a commit 7369002

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)