X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole-core%2Fsrc%2FCommand%2FChain%2FChainDebugCommand.php;fp=vendor%2Fdrupal%2Fconsole-core%2Fsrc%2FCommand%2FChain%2FChainDebugCommand.php;h=0000000000000000000000000000000000000000;hp=f5a7a48c4e7cff504ddda85e8cf5e038e709aa7d;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/drupal/console-core/src/Command/Chain/ChainDebugCommand.php b/vendor/drupal/console-core/src/Command/Chain/ChainDebugCommand.php deleted file mode 100644 index f5a7a48c4..000000000 --- a/vendor/drupal/console-core/src/Command/Chain/ChainDebugCommand.php +++ /dev/null @@ -1,80 +0,0 @@ -chainDiscovery = $chainDiscovery; - - parent::__construct(); - } - - /** - * {@inheritdoc} - */ - protected function configure() - { - $this - ->setName('chain:debug') - ->setDescription($this->trans('commands.chain.debug.description')); - } - - /** - * {@inheritdoc} - */ - protected function execute(InputInterface $input, OutputInterface $output) - { - $io = new DrupalStyle($input, $output); - $files = $this->chainDiscovery->getChainFiles(); - - foreach ($files as $directory => $chainFiles) { - $io->info($this->trans('commands.chain.debug.messages.directory'), false); - $io->comment($directory); - - $tableHeader = [ - $this->trans('commands.chain.debug.messages.file') - ]; - - $tableRows = []; - foreach ($chainFiles as $file) { - $tableRows[] = $file; - } - - $io->table($tableHeader, $tableRows); - } - - return 0; - } -}