mardi 12 septembre 2017

Error creating progress bar Laravel 5.0 Artisan Commands

I am trying to create a progress bar in an artisan command. The version of laravel i am using is 5.0 (although it has been updated from 4.x so the commands are stored in the folder app/Console/Commands and are in the namespace Foundry\PhoneHome\Console\Commands)

I am running $this->output->progressStart($count); and have also tried $this->output->createProgressBar($count); but for both of them i get the error [Symfony\Component\Debug\Exception\FatalErrorException] Call to undefined method Symfony\Component\Console\Output\ConsoleOutput::progressStart()

Am i doing something wrong or are the progress bars not supported in laravel 5.0?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire