if(!$receiver instanceof ListableReceiverInterface){ thrownewRuntimeException(sprintf('The "%s" receiver does not support listing or showing specific messages.', $failureTransportName)); }
$io = newSymfonyStyle($input, $output instanceof ConsoleOutputInterface ? $output->getErrorOutput() : $output); $io->comment('Quit this command with CONTROL-C.'); if(!$output->isVeryVerbose()){ $io->comment('Re-run the command with a -vv option to see logs about consumed messages.'); }