Category: progress-bar

Using Symfony progress bar without knowing the exact number of steps in advance

I have this example of how to use the Symfony progress bar helper protected function execute(InputInterface $input, OutputInterface $output) { // Fake data source $customers = [ [‘John Doe’, ‘[email protected]’, ‘1983-01-16’], [‘Samantha Smith’, ‘[email protected]’, ‘1986-10-23’], [‘Robert Black’, ‘[email protected]’, ‘1978-11-18’], ];…