public function dir(OutputInterface $output, $response)
    {
        if (empty($response)) {
            $output->writeln('<error>No analysers detected.</error>');
        } else {
            $headers = array('Analyser Name', 'Analyser Class');
            $rows    = array();

            foreach ($response as $name => $class) {
                $rows[] = array($name, $class);
            }

            $this->tableHelper($output, $headers, $rows);
        }
    }
public function dir(OutputInterface $output, $response)
    {
        if (empty($response)) {
            $output->writeln('<error>No analysers detected.</error>');
        } else {
            $headers = array('Analyser Name', 'Analyser Class');
            $rows    = array();

            foreach ($response as $name => $class) {
                $rows[] = array($name, $class);
            }

            $this->tableHelper($output, $headers, $rows);
        }
    }
public function dir ( OutputInterface $ output , $ response ) { if ( empty ( $ response ) ) { $ output -> writeln ( '<error>No analysers detected.</error>' ) ; } else { $ headers = array ( 'Analyser Name' , 'Analyser Class' ) ; $ rows = array ( ) ; foreach ( $ response as $ name => $ class ) { $ rows [ ] = array ( $ name , $ class ) ; } $ this -> tableHelper ( $ output , $ headers , $ rows ) ; } }
Results of analysers available

@param OutputInterface $output   Console Output concrete instance
@param array           $response Analysers list
Results of analysers available