Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console / src / Command / Cron / DebugCommand.php
diff --git a/vendor/drupal/console/src/Command/Cron/DebugCommand.php b/vendor/drupal/console/src/Command/Cron/DebugCommand.php
deleted file mode 100644 (file)
index df06c09..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-<?php
-
-/**
- * @file
- * Contains \Drupal\Console\Command\Cron\DebugCommand.
- */
-
-namespace Drupal\Console\Command\Cron;
-
-use Symfony\Component\Console\Input\InputInterface;
-use Symfony\Component\Console\Output\OutputInterface;
-use Symfony\Component\Console\Command\Command;
-use Drupal\Core\Extension\ModuleHandlerInterface;
-use Drupal\Console\Core\Command\Shared\CommandTrait;
-use Drupal\Console\Core\Style\DrupalStyle;
-
-class DebugCommand extends Command
-{
-    use CommandTrait;
-
-    /**
-     * @var ModuleHandlerInterface
-     */
-    protected $moduleHandler;
-
-    /**
-     * DebugCommand constructor.
-     *
-     * @param ModuleHandlerInterface $moduleHandler
-     */
-    public function __construct(ModuleHandlerInterface $moduleHandler)
-    {
-        $this->moduleHandler = $moduleHandler;
-        parent::__construct();
-    }
-
-    /**
-     * {@inheritdoc}
-     */
-    protected function configure()
-    {
-        $this
-            ->setName('cron:debug')
-            ->setDescription($this->trans('commands.cron.debug.description'));
-    }
-
-    /**
-     * {@inheritdoc}
-     */
-    protected function execute(InputInterface $input, OutputInterface $output)
-    {
-        $io = new DrupalStyle($input, $output);
-
-        $io->section(
-            $this->trans('commands.cron.debug.messages.module-list')
-        );
-
-        $io->table(
-            [ $this->trans('commands.cron.debug.messages.module') ],
-            $this->moduleHandler->getImplementations('cron'),
-            'compact'
-        );
-    }
-}