$output->writeln('<comment>A grid has been generated but does not contains enough forms ('.$formCount.'). (generated in '.$executionTime.' sec.)</comment>');
...
...
@@ -57,9 +60,13 @@ class GenerateGridCommand extends ContainerAwareCommand
$totalFormCount+=$formCount;
}
$em->clear();
$allGrid++;
}
$average=round($totalFormCount/$keptGrid);
$averageAll=round($totalFormCountAll/$allGrid);
$output->writeln('<info>Done ! (average form count: '.$average.')</info>');
$output->writeln('<info>Done ! (average form count for all grids: '.$averageAll.')</info>');