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();
}