private function writeProgress(OutputInterface $output, $index, $count, $char = '.') { if ($index > 0 && $index % 64 === 0) { $output->writeln(sprintf(' (%s/%s)', $index, $count)); } $output->write($char); }