public function runQueued(InputInterface $input, OutputInterface $output)
    {
        /** @var SmileCron[] $smileCrons */
        $smileCrons = $this->listQueued();

        /** @var CronInterface[] $crons */
        $crons = $this->getCrons();
        /** @var CronInterface[] $cronAlias */
        $cronAlias = array();

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

        if ($smileCrons) {
            foreach ($smileCrons as $smileCron) {
                if (isset($cronAlias[$smileCron->getAlias()])) {
                    $this->run($smileCron);
                    $status = $cronAlias[$smileCron->getAlias()]->run($input, $output);
                    $this->end($smileCron, $status);
                }
            }
        }
    }
public function runQueued(InputInterface $input, OutputInterface $output)
    {
        /** @var SmileCron[] $smileCrons */
        $smileCrons = $this->listQueued();

        /** @var CronInterface[] $crons */
        $crons = $this->getCrons();
        /** @var CronInterface[] $cronAlias */
        $cronAlias = array();

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

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

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