protected function display(OutputInterface $output, array $rows = array(), array $failed = array())
    {
        $this->getApplication()->getHelperSet()->get('table')
            ->setHeaders(array('Name', 'Scripts', 'Rollbacks', 'Status'))
            ->setRows($rows)
            ->render($output);

        if (!empty($failed)) {
            $output->writeln(sprintf('<fg=red>Check failed for release(s) %s</fg=red>', implode(', ', $failed)));
        }
    }
protected function display(OutputInterface $output, array $rows = array(), array $failed = array())
    {
        $this->getApplication()->getHelperSet()->get('table')
            ->setHeaders(array('Name', 'Scripts', 'Rollbacks', 'Status'))
            ->setRows($rows)
            ->render($output);

        if (!empty($failed)) {
            $output->writeln(sprintf('<fg=red>Check failed for release(s) %s</fg=red>', implode(', ', $failed)));
        }
    }
protected function display ( OutputInterface $ output , array $ rows = array ( ) , array $ failed = array ( ) ) { $ this -> getApplication ( ) -> getHelperSet ( ) -> get ( 'table' ) -> setHeaders ( array ( 'Name' , 'Scripts' , 'Rollbacks' , 'Status' ) ) -> setRows ( $ rows ) -> render ( $ output ) ; if ( ! empty ( $ failed ) ) { $ output -> writeln ( sprintf ( '<fg=red>Check failed for release(s) %s</fg=red>' , implode ( ', ' , $ failed ) ) ) ; } }
Display result as a table

@param OutputInterface $output
@param array $rows
Display result as a table