protected function newProgressBar(OutputInterface $output)
    {
        // If the console output is not decorated (i.e. it does not support
        // ANSI), use NullOutput to suppress the progress bar entirely.
        $progressOutput = $output->isDecorated() ? $output : new NullOutput();

        return new ProgressBar($progressOutput);
    }
protected function newProgressBar(OutputInterface $output)
    {
        // If the console output is not decorated (i.e. it does not support
        // ANSI), use NullOutput to suppress the progress bar entirely.
        $progressOutput = $output->isDecorated() ? $output : new NullOutput();

        return new ProgressBar($progressOutput);
    }
protected function newProgressBar ( OutputInterface $ output ) { // If the console output is not decorated (i.e. it does not support // ANSI), use NullOutput to suppress the progress bar entirely. $ progressOutput = $ output -> isDecorated ( ) ? $ output : new NullOutput ( ) ; return new ProgressBar ( $ progressOutput ) ; }
Initialize a new progress bar.

@param OutputInterface $output

@return ProgressBar
Initialize a new progress bar .