Aszone\Avenger\SearchHackingEngine::printResult PHP Method

printResult() protected method

protected printResult ( $resultFinal, Symfony\Component\Console\Output\OutputInterface $output, $title )
$output Symfony\Component\Console\Output\OutputInterface
    protected function printResult($resultFinal, OutputInterface $output, $title)
    {
        $output->writeln('');
        $output->writeln('<info>*******' . $title . '********</info>');
        $table = new Table($output);
        $table->setHeaders(array('Enginer', 'List of result'));
        $arrayToTable = array();
        foreach ($resultFinal as $keyResultEnginer => $resultEnginer) {
            foreach ($resultEnginer as $keyResult => $result) {
                $arrayToTable[] = array($keyResultEnginer, $result);
                /*$output->writeln("*<info>*".$keyResultEnginer." -> ".$result."</info>");
                  $output->writeln("*-------------------------------------------------");*/
            }
        }
        $table->setRows($arrayToTable);
        $table->render();
    }