public function runQueued(InputInterface $input, OutputInterface $output)
    {
        /** @var EdgarCron[] $edgarCron */
        $edgarCrons = $this->listQueued();
        /** @var CronInterface[] $crons */
        $crons = $this->getCrons();
        /** @var CronInterface[] $cronAlias */
        $cronAlias = [];

        foreach ($crons as $cron) {
            $cronAlias[$cron->getAlias()] = $cron;
        }

        if ($edgarCrons) {
            foreach ($edgarCrons as $edgarCron) {
                if (isset($cronAlias[$edgarCron->getAlias()])) {
                    if ($this->run($edgarCron)) {
                        $status = $cronAlias[$edgarCron->getAlias()]->run($input, $output);
                        $this->end($edgarCron, $status);
                    }
                }
            }
        }
    }
public function runQueued(InputInterface $input, OutputInterface $output)
    {
        /** @var EdgarCron[] $edgarCron */
        $edgarCrons = $this->listQueued();
        /** @var CronInterface[] $crons */
        $crons = $this->getCrons();
        /** @var CronInterface[] $cronAlias */
        $cronAlias = [];

        foreach ($crons as $cron) {
            $cronAlias[$cron->getAlias()] = $cron;
        }

        if ($edgarCrons) {
            foreach ($edgarCrons as $edgarCron) {
                if (isset($cronAlias[$edgarCron->getAlias()])) {
                    if ($this->run($edgarCron)) {
                        $status = $cronAlias[$edgarCron->getAlias()]->run($input, $output);
                        $this->end($edgarCron, $status);
                    }
                }
            }
        }
    }
public function runQueued ( InputInterface $ input , OutputInterface $ output ) { /** @var EdgarCron[] $edgarCron */ $ edgarCrons = $ this -> listQueued ( ) ; /** @var CronInterface[] $crons */ $ crons = $ this -> getCrons ( ) ; /** @var CronInterface[] $cronAlias */ $ cronAlias = [ ] ; foreach ( $ crons as $ cron ) { $ cronAlias [ $ cron -> getAlias ( ) ] = $ cron ; } if ( $ edgarCrons ) { foreach ( $ edgarCrons as $ edgarCron ) { if ( isset ( $ cronAlias [ $ edgarCron -> getAlias ( ) ] ) ) { if ( $ this -> run ( $ edgarCron ) ) { $ status = $ cronAlias [ $ edgarCron -> getAlias ( ) ] -> run ( $ input , $ output ) ; $ this -> end ( $ edgarCron , $ status ) ; } } } } }
List cron commands identified as queued.

@param InputInterface $input input interface
@param OutputInterface $output output interface
List cron commands identified as queued .