N98\Magento\Command\System\CheckCommand::_printTable PHP Method

_printTable() protected method

protected _printTable ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, N98\Magento\Command\System\Check\ResultCollection $results )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$results N98\Magento\Command\System\Check\ResultCollection
    protected function _printTable(InputInterface $input, OutputInterface $output, ResultCollection $results)
    {
        $table = array();
        foreach ($results as $result) {
            /* @var $result Result */
            $table[] = array($result->getResultGroup(), strip_tags($result->getMessage()), $result->getStatus());
        }
        $this->getHelper('table')->setHeaders(array('Group', 'Message', 'Result'))->renderByFormat($output, $table, $input->getOption('format'));
    }