protected function getTable(OutputInterface $output)
    {
        if (!\class_exists('Symfony\Component\Console\Helper\Table')) {
            return $this->getTableHelper();
        }

        $style = new TableStyle();
        $style
            ->setVerticalBorderChar(' ')
            ->setHorizontalBorderChar('')
            ->setCrossingChar('');

        $table = new Table($output);

        return $table
            ->setRows([])
            ->setStyle($style);
    }
protected function getTable(OutputInterface $output)
    {
        if (!\class_exists('Symfony\Component\Console\Helper\Table')) {
            return $this->getTableHelper();
        }

        $style = new TableStyle();
        $style
            ->setVerticalBorderChar(' ')
            ->setHorizontalBorderChar('')
            ->setCrossingChar('');

        $table = new Table($output);

        return $table
            ->setRows([])
            ->setStyle($style);
    }
protected function getTable ( OutputInterface $ output ) { if ( ! \ class_exists ( 'Symfony\Component\Console\Helper\Table' ) ) { return $ this -> getTableHelper ( ) ; } $ style = new TableStyle ( ) ; $ style -> setVerticalBorderChar ( ' ' ) -> setHorizontalBorderChar ( '' ) -> setCrossingChar ( '' ) ; $ table = new Table ( $ output ) ; return $ table -> setRows ( [ ] ) -> setStyle ( $ style ) ; }
Get a Table instance.

Falls back to legacy TableHelper.

@return Table|TableHelper
Get a Table instance .