diff --git a/src/TwigComponent/src/DependencyInjection/TwigComponentExtension.php b/src/TwigComponent/src/DependencyInjection/TwigComponentExtension.php index a824a134d57..e8ce315821a 100644 --- a/src/TwigComponent/src/DependencyInjection/TwigComponentExtension.php +++ b/src/TwigComponent/src/DependencyInjection/TwigComponentExtension.php @@ -114,15 +114,5 @@ class_exists(AbstractArgument::class) ? new AbstractArgument(sprintf('Added in % if ($container->getParameter('kernel.debug') && class_exists(Stopwatch::class)) { $loader->load('debug.php'); } - - $container->register('console.command.stimulus_component_debug', ComponentDebugCommand::class) - ->setArguments([ - new Parameter('twig.default_path'), - new Reference('ux.twig_component.component_factory'), - new Reference('twig'), - tagged_iterator('twig.component'), - ]) - ->addTag('console.command') - ; } }